title: hide button if clicked 3 times JQuery
body: <p>I have these 2 buttons, <strong>Yes, continue</strong> and <strong>No, logout</strong>.</p>
  
  <p>I want to count the number of clicks of the <strong>Yes</strong> button and when the count reaches 3, the button should be hidden. Only "No, logout" should be visible.</p>
  
  <pre><code>&lt;div class="popupMsg"&gt;
      &lt;span&gt;Your session will be expired after &lt;span id="expiredTime"&gt;&lt;/span&gt; secondes.&lt;br /&gt; Would you like to continue?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
      &lt;input type="button" id="btnTimeextend" class="btnYes" value="Yes, continue"  onclick="SetTimeextend();"/&gt;
      &lt;input type="button" id="btnTimeExpired" class="btnNo" value="No, logout" onclick="SetTimeExpired();" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How do I do this in jQuery?</p>
  
  <p>I am not sure if I should use session data or cookies. The project is in vb.net</p>