Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript onclick button

var button = document.querySelector('button');
button.onclick = function() {
  //do stuff
}
 
PREVIOUS NEXT
Tagged: #javascript #onclick #button
ADD COMMENT
Topic
Name
9+4 =