可能重複:
Validate email address in Javascript?
Validate email with jQuery檢查有效的電子郵件地址
目前,我在我建立了一個聯繫表格以此來檢查電子郵件字段不留空白
var email = $("input#email").val();
if (email == "") {
$("label#email_error").show();
$("input#email").focus();
return false;
}
如何運行電子郵件輸入字段包含@字符的檢查?
可能重複[使用jQuery驗證電子郵件](http://stackoverflow.com/questions/5778624/validate-email-with-jquery)和[如何使用JQuery驗證emailid的文本框? ](http://stackoverflow.com/questions/6277513/how-to-validate-textbox-for-emailid-using-jquery)。 – 2012-02-19 13:59:25