Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reference of event listener funtion to remove

element.addEventListener('click',element.fn=function fn() {
    //  Event Code
}, false);
element.removeEventListener('click',element.fn, false);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reference #event #listener #funtion #remove
ADD COMMENT
Topic
Name
5+5 =