How to remove keypress from input with jquery?

Posted by Jin Yong on Stack Overflow See other posts from Stack Overflow or by Jin Yong
Published on 2009-10-14T03:18:02Z Indexed on 2010/04/27 11:13 UTC
Read the original article Hit count: 257

Filed under:

Does anyone know how can I remove keypress from input with jquery?

Example:

<input type="text" keypress="cleanMsg()" id="cleanMsg" name="cleanMsg">

How can I removed the keypress="cleanMsg()" from input by using jquery? Or anyway to replace keypress="cleanMsg()" to keypress="Msg()"??

© Stack Overflow or respective owner

Related posts about jQuery