Difference between revisions of "Event Watcher"

From Level Access Web Labs
Jump to navigation Jump to search
Line 40: Line 40:
 
   console.log(elements[i]);
 
   console.log(elements[i]);
 
   console.log(i);
 
   console.log(i);
   el = document.getElementById("a1");
+
   el = Zdocument.getElementById("s1");
   console.log(el);
+
   console.log(document.getElementById("s1"));
 
   el.addEventListener("touchstart", test, false);
 
   el.addEventListener("touchstart", test, false);
 
   el.addEventListener("touchend", test, false);
 
   el.addEventListener("touchend", test, false);

Revision as of 15:56, 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

SSB

Log area