|
eventListener and addEventListener and jQuery
Hi,
I am quite confused with the concept of eventListener if I make a js code follow W3C...
I can understand that an event is like 'click', 'load', etc, they are fixed by W3C.
so what is the eventListener actually? I have tried to understand it from a reference book but still cannot get my head around to it!
and addEventListener??
what is the difference between these two?
I dont seem to have this confusion if I jump straight to jQuery! I never came across these two stuff in jQuery. is jQuery abandoning them or something??
Many thanks,
Lau
|