表单验证functionyanzheng(){varemail=document.getElementById("ema").value;if(email==""){alert("不能为空")returnfalse;}