Can't seem to change value of text input with jQuery
<p>I want to change the value of a text input with jQuery when a certain function passes. I used this code:</p>

<pre><code>$('#find').attr("value", "newvalue");
</code></pre>

<p>But it's not changing it. This is the markup of the input I want to change:</p>

<pre><code>&lt;input type="text" id="find" class="input" /&gt;
</code></pre>

<p>I know it's getting to this peice of code because the jQuery either side of it executes and works.</p>

<p>Any help would be appreciated, thanks.</p>
