<?php
session_start();
$_SESSION['']=$_POST[''];
?>
<?php echo $_SESSION['']; ?>
<tr> <td><nobr></td> <td><SELECT NAME=""> <OPTION value=""></OPTION> <OPTION value="aaa">aaa</OPTION> <OPTION value="bbb">bbb</OPTION> <OPTION value="ccc">ccc</OPTION> <OPTION value="ddd">ddd</OPTION> <OPTION value="eee">eee</OPTION> <OPTION value="fff">fff</OPTION> <OPTION value="ggg">ggg</OPTION> <OPTION value="hhh">hhh</OPTION> <OPTION value="iii">iii</OPTION> <OPTION value="jjj">jjj</OPTION> <OPTION value="kkk">kkk</OPTION> <OPTION value="lll">lll</OPTION> </SELECT> </td> </tr> |
<tr><td valign=top><p align=right><b>:</td> <td> <table><tr> <td > <p align=right><b>aaa<td><INPUT TYPE="Radio" NAME="" VALUE="aaa"> </td> </tr> <td><p align=right><b> bbb<td><INPUT TYPE="Radio" NAME="" VALUE="bbb"> </td> <tr><td><p align=right><b> ccc<td><INPUT TYPE="Radio" NAME="" VALUE="ccc"> </td> <tr><td><p align=right><b> ddd<td><INPUT TYPE="Radio" NAME="" VALUE="ddd"> </td> <tr><td><p align=right><b> eee<td><INPUT TYPE="Radio" NAME="" VALUE="eee"> </td></table> </td> |
|
<SCRIPT>
$(document).ready(function(){
$('.moosetext').each(function(){
var defaultVal = $(this).attr('title');
$(this).focus(function(){
if ($(this).val() == defaultVal){
$(this).removeClass('active').val('');
}
})
.blur(function(){
if ($(this).val() == ''){
$(this).addClass('active').val(defaultVal);
}
})
.blur().addClass('active');
});
$('form').submit(function(){
$('.moosetext').each(function(){
var defaultVal = $(this).attr('title');
if ($(this).val() == defaultVal){
$(this).val('');
}
});
});
});
</SCRIPT>