JavaScript in the Browser
addEventListener(event, function-to-call,
capturing-phase?) on desired element.
document.myform.addEventListener("submit", function
(e) {return validate(e.target);}, false);Event object which contains more info about
the event. addEventListener() multiple
times on an element. No order guarantees. removeEventListener() takes the same arguments. 47 of 66