Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to add an event listener to a function javascript

function first(){
    alert( " hi it's Toofi");
}

task3Element.addEventListener('click', first);
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #add #event #listener #function #javascript
ADD COMMENT
Topic
Name
3+8 =