title: How to make a button disable/enable on click?
body: <p>I have html which is something like, not exactly like this, but just to give you an idea.</p>
  
  <pre><code>    &lt;input type="text" disabled="disabled" name="ip" /&gt;
      &lt;input type="text" name="name" /&gt;
      &lt;input type="text" name="email" /&gt;
      &lt;input type="submit" value="send" /&gt;
  </code></pre>
  
  <p>the IP field is disabled, I want to put a button right next to it, which will enable the field without refreshing the page.</p>
  
  <p>Can you please help me do this?</p>
  
  <p>Thanks in advance</p>