Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to detect a button click in javascript

if(document.getElementById('button').clicked == true)
{
   alert("button was clicked");
}
 
PREVIOUS NEXT
Tagged: #detect #button #click #javascript
ADD COMMENT
Topic
Name
4+2 =