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);
 
PREVIOUS NEXT
Tagged: #add #event #listener #function #javascript
ADD COMMENT
Topic
Name
4+6 =