这是代码:
<table width="100%" border="0" cellspacing="2" cellpadding="1">
<form name="myform" action="/2/plus/form.asp" method="post">
<input type="hidden" value="Save" name="action">
<input type="hidden" value="5" name="id">
<tr class="tdbg">
<td align="right" class="lefttdbg">姓名:</td>
<td><input type="text" class="upfile" style="width:187px" name="KS_name" value=""> </td>
</tr>
<tr class="tdbg">
<td align="right" class="lefttdbg">联系电话:</td>
<td><input type="text" class="upfile" style="width:187px" name="KS_phone" value=""><font color="red"> * </font> </td>
</tr>
<tr class="tdbg">
<td align="right" class="lefttdbg">预约时间:</td>
<td><input type="text" class="upfile" style="width:187px" name="KS_time" value=""> </td>
</tr>
<tr class="tdbg">
<td align="right" class="lefttdbg">病情:</td>
<td><textarea style="width:285px;height:84px" rows="5" name="KS_Condition"></textarea><font color="red"> * </font> </td>
</tr>
<tr class="tdbg">
<td align="right" class="lefttdbg">科室:</td>
<td><select class="upfile" style="width:200px" name="KS_keshi"><option value=''>---请选择---</option><option value="妇产科">妇产科</option><option value="***">***</option><option value="产科">产科</option><option value="乳腺科">乳腺科</option><option value="儿科">儿科</option><option value="整形美容科">整形美容科</option><option value="内科">内科</option><option value="麻醉科">麻醉科</option></select> <select name='KS_expert' id='KS_expert' onchange='fillKS_expert(this.value)' style='width:200px'><option value=''>--请选择--</option></select><script type="text/javascript">
var subKS_keshi = new Array();subKS_keshi[0]=new Array('妇产科','张山')
subKS_keshi[1]=new Array('妇产科','李四')
subKS_keshi[2]=new Array('妇产科','王五')
subKS_keshi[3]=new Array('妇产科','高宇')
subKS_keshi[4]=new Array('妇产科','涛涛')
subKS_keshi[5]=new Array('***','翠花')
subKS_keshi[6]=new Array('***','刘军')
subKS_keshi[7]=new Array('***','万夏')
subKS_keshi[8]=new Array('***','催芳')
subKS_keshi[9]=new Array('产科','郝东花')
subKS_keshi[10]=new Array('产科','王清')
subKS_keshi[11]=new Array('乳腺科','刘文')
subKS_keshi[12]=new Array('乳腺科','蕴新')
subKS_keshi[13]=new Array('儿科','王蓉')
subKS_keshi[14]=new Array('儿科','黄勤爱')
subKS_keshi[15]=new Array('儿科','俞华')
subKS_keshi[16]=new Array('整形美容科','李锴')
subKS_keshi[17]=new Array('内科','孙华')
subKS_keshi[18]=new Array('麻醉科','刘竹')
subKS_keshi[19]=new Array('麻醉科','唐庆')
function fillKS_keshi(v){
$('#KS_expert').empty();
$('#KS_expert').append('<option value="">--请选择--</option>');
for (i=0; i<subKS_keshi.length; i++){
if (v==subKS_keshi[i][0]){document.getElementById('KS_expert').options[document.getElementById('KS_expert').length] = new Option(subKS_keshi[i][1], subKS_keshi[i][1]);}}
}function fillKS_expert(v){}
</script> </td>
</tr>
<tr><td colspan="2" class="subtdbg" align="center"><input type="submit" value="确认提交" name="submit1"></td></tr>
</form>
</table>
完全按照科汛的教程http://www.kesion.com/kfrz/11486.html做的,可是二级列表显示不出来!!