Difference between revisions of "Event Watcher"
Jump to navigation
Jump to search
Line 41: | Line 41: | ||
console.log(i); | console.log(i); | ||
el = document.getElementById(elements[i]); | el = document.getElementById(elements[i]); | ||
+ | console.log(el.id); | ||
el.addEventListener("touchstart", test, false); | el.addEventListener("touchstart", test, false); | ||
el.addEventListener("touchend", test, false); | el.addEventListener("touchend", test, false); |
Revision as of 15:50, 26 February 2016
Move through the fields below and watch the events that are sent by the browser. For example, use with AT to find out what events are being fired.
- onfocus, onblur
- onclick, ondbclik
- onmouseup, onmousedown, onmouseover
- onkeypress, onkeydown, onkeyup
- touchstart, touchend
- touchmove, touchcancel