js表单提交,判断文本框,用户名密码是否为空,JS表单检测!
摘要:
当表单提交时先触发验证的js代码,当验证表单的方法返回true时才会提交表单返回false则不提交数据<script type="text/javascript">function checkIP(){//js表单验证方法 var text=document.getElementById("url" 阅读全文
posted @ 2016-02-15 17:09 厚积!! 阅读(9229) 评论(0) 推荐(0)
浙公网安备 33010602011771号