title: asp:textbox readonly
body: <p>In asp file I have two asp:textbox </p>
  
  <pre><code>&lt;asp:TextBox ID="textValue" runat="server" Width="100px"/&gt;
  &lt;asp:TextBox ID="textValue2" runat="server" Width="100px" ReadOnly="true"/&gt;
  </code></pre>
  
  <p>then I set the value via javascript getting</p>
  
  <pre><code>&lt;asp:TextBox ID="textValue" runat="server" Width="100px" value="aaa"/&gt;
  &lt;asp:TextBox ID="textValue2" runat="server" Width="100px" ReadOnly="true" value="bbb"/&gt;
  </code></pre>
  
  <p>but when refresh the webpage finally get</p>
  
  <pre><code>&lt;asp:TextBox ID="textValue" runat="server" Width="100px" value="aaa"/&gt;
  &lt;asp:TextBox ID="textValue2" runat="server" Width="100px" ReadOnly="true"/&gt;
  </code></pre>
  
  <p>Why the value bbb is "lost"? How can I avoid this?</p>