Possible Duplicate:
Validate email address in Javascript?
Validate email with jQuery
Currently I am using this in a contact form that I have built to check that the email field is not left blank
var email = $("input#email").val();
if (email == "") {
$("label#email_error").show();
$("input#email").focus();
return false;
}
How can I run a check that the email input field contains an @ character?