<script language="javascript">
function mycheck(){
if(form1.xingming.value == "")
{alert("请输入姓名!");form1.xingming.focus();return;}
if(form1.idcard.value == "")
{alert("请输入身份证号!");form1.idcard.focus();return;}
if(form1.phone.value == "")
{alert("请输入联系电话!");form1.phone.focus();return;}
if(this.person[1].checked ==true)
{alert("请选择联系电话!");}
form1.submit();
}
</script>
老大帮我看看这个代码,怎么老不行啊?好像没什么问题吧?!我都急晕了,拜托!