changing the onblur attribute with jQuery
<p>I am trying to change the onblur attribute of a text field with jQuery</p>

<p>But it's not working</p>

<p>The input field already has some onblur code like this:</p>

<pre><code>&lt;input id="emp" type="text" onblur="func1('abc');"&gt;
</code></pre>

<p>Using jQuery I want to change it to this:</p>

<pre><code>&lt;input id="emp" type="text" onblur="func2('abc','def');"&gt;
</code></pre>

<p>I am trying this code:</p>

<pre><code>$('#emp').attr('onblur',"func2('abc','def')")
</code></pre>

<p>But it does nothing ..</p>
