摘要:
var pattern=/(^(([0\+]\d{2,3}-)?(0\d{2,3})-)(\d{7,8})(-(\d{3,}))?$)|(^0{0,1}1[3|4|5|6|7|8|9][0-9]{9}$)/; if(pattern.test(val)) { return true; }else{ r 阅读全文
摘要:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gbk"> <title>JavaScript禁止提交表单</title> <script type="text/javascript"> functi 阅读全文