How can I disable and enable the textbox using with jquery?
<p>Here I have a text box</p>

<pre><code>&lt;input name="" type="text" id="txt" onblur="txt(this)"/&gt;
</code></pre>

<p>and jquery</p>

<pre><code>function txt(th) {
  $(th).hide().after('&lt;span class=\"dfk\"&gt;' + $(th).val() + '&lt;/span&gt;');  
}
</code></pre>

<p>I have done disable the textbox and dispaly the value of textbox but again click the value of the textbox. textbox should enable with the value.</p>
