title: enable and disable textbox by using button click
body: <p>I have multiple of textbox...each textbox have own button to enable or disable .
  How to do it ?
  I have already try this</p>
  
  <pre><code>$('#disablebutton').click(function(){
  $('#textfieldToClose').attr('disable');
  });
  
  &lt;input type="text" name="text11" readonly="readonly" id="textfieldToClose"&gt;
  &lt;input type="button" value="edit" name="button1" id="disablebutton"&gt;
  </code></pre>