addAttr not working in jquery?
<p>I have a sample code :</p>

<pre><code>&lt;input type="text" name="color" id="color" value="" /&gt;
</code></pre>

<p>And jquery</p>

<pre><code>$('#color').change(function(){
    $('#color').addAttr('value', 'test');
});
</code></pre>

<p>When I change value in textbox is result <code>value=""</code> and error in firebug <code>$("#color").addAttr is not a function</code></p>

<p>How to fix it ?</p>
