023 月 2011 js正则验证思路 by 飞 //正则验证问题 if("必填"){ //值不能为空 }else{ if(v){ //正则验证 if(/^$/.test()){ //成功 }else{ //错误 //提示, } //注意 //不能转到焦点,否则容易造成死循[......]继续阅读