这个是表单,一个复选框<form name="form1" action="giveup.jsp" method="post"> <input type="checkbox" value="1" name="outs">x
<input type="checkbox" value="2" name="outs">x
<input type="checkbox" value="3" name="outs">x
<input type="checkbox" value="4" name="outs">x 
<br> 
<input type="submit" value="提交" onclick="CheckForm()"> 
<input type="reset" value="重选"> 
<input name="button" id="button" onclick="aaa()" value="不出" type="button">
</form>
相应的JS函数CheckForm()<script type="text/javascript" language="javascript">
function CheckForm() {
return flse;
}
</script>
但执行后表单还是提交了  这是问什么呢?  在线等。。