How to remove keypress from input with jquery?
<p>Does anyone know how can I remove keypress from input with jquery?</p>

<p>Example:</p>

<pre><code>&lt;input type="text" keypress="cleanMsg()" id="cleanMsg" name="cleanMsg"&gt;
</code></pre>

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