You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
467 B
16 lines
467 B
$(document).ready(function () {
|
|
// 找到所有菜单, 并添加显示和隐藏菜单事件
|
|
var v_email = $("#email").val();
|
|
|
|
});
|
|
|
|
function isEmail(email) {
|
|
if (email.length > 50) {
|
|
return false;
|
|
}
|
|
var re = /^(([0-9a-zA-Z]+)|([0-9a-zA-Z]+[_.0-9a-zA-Z-]*[0-9a-zA-Z]+))@([a-zA-Z0-9-]+[.])+([a-zA-Z]{2}|net|NET|com|COM|gov|GOV|mil|MIL|org|ORG|edu|EDU|int|INT)$/;
|
|
if (email.search(re) != -1) {
|
|
return true;
|
|
}
|
|
return false;
|