Difference between revisions of "Event Watcher"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
var t = document.createTextNode(evt.type+" " +evt.target); | var t = document.createTextNode(evt.type+" " +evt.target); | ||
d.appendChild(t); | d.appendChild(t); | ||
− | document.getElementById("d2").appendChild(d); | + | var d2 = document.getElementById("d2"); |
+ | d2.appendChild(d); | ||
+ | d2.scrollTop = d2.scrollHeight - d2.clientHeight; | ||
} | } | ||
Revision as of 02:16, 27 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