title: Make a button unclickable after one click
body: <p>I'm trying to create a button that becomes deactivated after the first click; however I have no clue how to do it.
  This is what I have now:</p>
  
  <pre><code>&lt;input type="button" id="btnSearch" value="Search" onclick="Fuction();" /&gt;
  </code></pre>
  
  <p>This button will NOT submit a form. Could someone help me? I'm totally new to this. I've tried following the answer in other threads but got lost.</p>