不管vbscript还是javascript能够实现就行
<script language=\"javascript\">
$ = document.getElementById;
function a()
{
if($(\"checkbox\").checked == true)$(\"textfield\").value = 110;
else $(\"textfield\").value = 0;
}
function b()
{
switch($(\"select\").value)
{
case \"bz\":
$(\"textfield2\").value = 20;
break;
case \"yz\":
$(\"textfield2\").value = 10;
break;
default:
$(\"textfield2\").value = 0;
break;
}
}
</script>
<form name=\"form1\" method=\"post\" action=\"\">
是否有劳动用工年检费<input type=\"checkbox\" name=\"checkbox\" id=\"checkbox\" onClick=\"a();\">
劳动用工年检费<input type=\"text\" name=\"textfield\" id=\"textfield\" value=\"0\"><br><br>
统计局<select name=\"select\" id=\"select\" onChange=\"b();\">
<option value=\"\" selected>不选</option>
<option value=\"bz\">办证</option>
<option value=\"yz\">验证</option>
</select>
统计局<input type=\"text\" name=\"textfield2\" id=\"textfield2\" value=\"0\">
</form>