Topic: 请教大家一个小问题 |
Print this page |
1.请教大家一个小问题 | Copy to clipboard |
Posted by: redphoenix Posted on: 2005-02-12 22:21 var re = new RegExp(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9 ]+$/); var s = formct.regemail.value; if (re.test){ //Test for existence. }else{ alert('请正确填写您的邮箱地址'); return false; } 请问我输入什么才不显示错误提示? |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |