finding a letter in a string with jquery

Posted by Ahmet vardar on Stack Overflow See other posts from Stack Overflow or by Ahmet vardar
Published on 2010-03-23T01:50:41Z Indexed on 2010/03/23 2:01 UTC
Read the original article Hit count: 295

Filed under:

Hi,

it looks very basic thing but i could not figure it out.

var email = $("input#email").val();

how can i check if that email variable has @ letter ?

Thanks

© Stack Overflow or respective owner

Related posts about jQuery