Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

make a count button i js

<button type="button" onClick="onClick()">Click me</button>
<p id="clicks"> Clicks: 0 </p>
 Run code snippetHide results
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #count #button #js
ADD COMMENT
Topic
Name
2+4 =