Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.on click jquery



var myEl = document.getElementById('myelement');

myEl.addEventListener('click', function() {
    alert('Hello world');
}, false);

myEl.addEventListener('click', function() {
    alert('Hello world again!!!');
}, false);


Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #click #jquery
ADD COMMENT
Topic
Name
9+5 =