日期:2014-05-16 浏览次数:21154 次
<input type="checkbox" name="checkbox1" id="checkbox1"/><input type="button" onclick="check()"
value="Check"/>
<script language="vbscript">
sub check
if checkbox1.checked then
msgbox "checkbox1被勾选"
else
msgbox "checkbox1未被勾选"
end if
end sub
</script>