Mozilla: “event is not defined”
Tagged: JavaScript Date: 24th, March 2008One of most common event related questions I got is about error in Mozilla browsers “event is not defined”.
IE and Mozilla treat event variable differently, while in IE it is a global variable (accessible without passing it to the function) in Mozilla you need to pass it every time (which btw is by w3c standards).
Example [...]