代码: function checkNewEmail(){ var re_email=new RegExp("\\w+@\\w+\\.\\w+\\.?\\w*"); var newEmail=$("#email_new").val(); if(re_email.test(newEmail)){ $.ajax({ type:"post", dataType:"json", url:"existEmail?email=&…
原来的代码 function checkNewEmail(){ var re_email=new RegExp("\\w+@\\w+\\.\\w+\\.?\\w*"); var newEmail=$("#email_new").val(); if(re_email.test(newEmail)){ $.ajax({ type:"p…
<form id="formpersonal" method="post" onsubmit="return false;">......... 报的错是:Cannot return from outside a function or method. 提示onclick="return check();"处出错,此时修改下配置信息既可 window -->preferences -->myeclips…