检查邮箱

/* 检查邮箱 */ var checkEmail = function (email) { email = email || ''; var bRes = (email.length > 3 && email.indexOf('@') > -1); if(!bRes) { $.toast('请输入正确的邮箱'); } return bRes; };

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.