ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Count number of times Button is clicked in JavaScript and jQuery<p>Hi <a class="username" rel="himani895">himani895</a>,</p> <p>Please refer below sample.</p> <p><span style="text-decoration: underline;"><strong>HTML</strong></span></p> <div class="demo_block"> <pre class="brush: html">&lt;script type=&#34;text/javascript&#34; src=&#34;https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34;&gt; var count = 0; function Count() { count++; $(&#39;#lblShow&#39;).text(count); return false; } &lt;/script&gt; &lt;div&gt; &lt;input type=&#34;submit&#34; name=&#34;btnCount&#34; value=&#34;Count&#34; onclick=&#34;return Count();&#34; id=&#34;btnCount&#34; /&gt; &lt;span id=&#34;lblShow&#34;&gt;&lt;/span&gt; &lt;/div&gt;</pre> </div> <p><a class="demo button orange btn btn-red">Demo</a></p>https://www.aspforums.net:443/Threads/562975/Count-number-of-times-Button-is-clicked-in-JavaScript-and-jQuery/https://www.aspforums.net:443/Threads/562975/Count-number-of-times-Button-is-clicked-in-JavaScript-and-jQuery/Mon, 15 Oct 2018 00:27:35 GMT