document.form.submit()的问题
<form action= "stafdayrep.asp " method=get name= "form1 ">
<select name= "userdept " size=1 onchange= "document.form1.submit(); ">
<option value= "技术部 " selected> 技术部 </option>
<option value= "财务部 "> 财务部 </option>
</select>
</form>
提示找不到对象document.form1
------解决方案--------------------在表单内
onchange= "this.form.submit(); ">