Example
x.addEventListener("click", function() { myFunction(this); } );
function myFunction(obj) {
alert(obj.innerHTML);
}
See the function invocation inside the anonymous function? The function inside the anonymous function have an argument of "this", my question is what are the possible parameters the addEventListener provides?
I'm really new so please excuse my many misinform usage of words.
EDIT: I already looked through many reference online such as w3schools, Mozilla Developer Network, Stackoverflow similar question, and google but I couldn't find any answer! If you have a link for what I am looking for please send it to me.