Check for comma in textbox using jQuery

Posted by Hulk on Stack Overflow See other posts from Stack Overflow or by Hulk
Published on 2010-05-16T12:18:06Z Indexed on 2010/05/16 12:20 UTC
Read the original article Hit count: 194

How to check for a comma in a text box. I.e. if comma is present the code should alert,

<input type="text" id="name"/>

Thanks..

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events