<tr>
<td colspan="2">
<form name="form1" method="post"><select name="select"
class="menu" onchange="document.getElementById('form1').submit();">
<option value="0">选择类型</option>
<option value="1">单选调查</option>
<option value="2">多选调查</option>
<option value="3">填写调查</option>
</select></form>
</td>
</tr>
<%
if(request.getParameter("select")!=null)
{
int choice = Integer.parseInt(request.getParameter("select"));
switch (choice) {
case 1: {
%>
<form>
<tr>
<td align="left" width="150"><input type="checkbox" onclick="if(this.checked){document.all.SurveyTitle.disabled=false;}if(!this.checked){document.all.SurveyTitle.disabled=true;}">调查标题:</td>
<td><input type="text" name="SurveyTitle" id="SurveyTitle" size="50" disabled="disabled"/>*
</td></tr>
</form>
<%
break;
}
case 2: {
%>
<form><tr><td>2</td></tr></form>
<%
break;
}
case 3: {
%>
<form><tr><td>3</td></tr></form>
<%
break;
}
}
} else {
%>
<tr>
<form><tr><td>0</td></tr></form>
</tr>
<%
}
%>