title: how to disable a button
body: <p>I've been searching in how to disable input type=button. I have this code here:</p>
  
  <pre><code>&lt;input type="button" value="&amp;nbsp;Send&amp;nbsp;" id="submit" name="submit" data-inline="true" data-icon="edit"&gt;
  </code></pre>
  
  <p>How to disable this in JavaScript? I'm also planning it when I clicked checkbox the button will be enabled.</p>
  
  <p>Any help would be appreciated.
  Thanks in advance.</p>