Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery event source

//target is the element that triggered the event 
let source1 = event.target;
//currentTarget is the element that the event listener is attached to.
let source2 = event.currentTarget;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #event #source
ADD COMMENT
Topic
Name
6+8 =