Why does a textbox lose its disabled attribute on postback but not its value attribute?
<p>This is my program</p>

<pre><code>&lt;script src="Scripts/jquery-1.6.4.js" type="text/javascript" language="javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript" language="javascript"&gt;
   function one() {
       $(document).ready(function () {
           $('#&lt;%= textbox.ClientID %&gt;').attr('disabled', 'disabled');
       });
   }
   function two() {
       $(document).ready(function () {
           $('#&lt;%= textbox.ClientID %&gt;').attr('value', 'hello stackoverflow.com!');
       });
   }
&lt;/script&gt;

&lt;input type="button" value="one" onclick="one();" /&gt;
&lt;input type="button" value="two" onclick="two();" /&gt;
&lt;asp:TextBox ID="textbox" runat="server"&gt;&lt;/asp:TextBox&gt;
&lt;asp:Button ID="postbackButton" runat="server" Text="post back" /&gt;
</code></pre>

<ol>
<li><p>When I click on 'button one', the textbox switches to disabled. Then I click on 'postback button' and the textbox switches to enabled (It loses what I set!).</p></li>
<li><p>When I click on 'button two', the textbox changes its value. Then I click on 'postback button' and the textbox doesn't lose its value.</p></li>
</ol>

<p>How could I do to keep the disabled state of the button?
If I could do this on client-side it would be better..</p>

<p>Thanks a lot, Luciano.</p>
