Tutorial Get All Possible DOM Events

You can get an array of all the events that start with "on" (e.g. onclick) by running this in the Console of Firefox. [i for(i in ...

You can get an array of all the events that start with "on" (e.g. onclick) by running this in the Console of Firefox.
[i for(i in document)].filter(function(i){return i.substring(0,2)=='on'&&(document[i]==null||typeof document[i]=='function');})
You'll get an array like this (Firefox 23):
["onreadystatechange", "onmouseenter", "onmouseleave", "onwheel", "oncopy", "oncut", "onpaste", "

Hot in Week

Popular

Archive

item