|
Checkbox Validation
<html>
<body>
<script>
function test(){
alert(document.form.checkthis.checked);
}
</script>
<form name="form">
<input type="checkbox" name="checkthis" value="test">
<input type="button" value="TEST" onClick="test();">
</form>
</body>
</html>
|
|