navigator.userAgent.indexOf("") | |
Your Browser is |
String.fromCharCode(n) | |
Last Key Pressed | |
FF:event.charCode IE:event.keyCode |
|
Character Code | |
event.altKey | |
ALT key pressed | |
event.shiftKey | |
SHIFT key pressed | |
event.ctrlKey | |
CTRL key pressed |
event.button | |
Click Here and watch | |
Button Clciked: |
event.clientX event.clientY | |
Move the mouse anywhere | |
ClientX: | |
ClientY: | |
event.screenX event.screenY | |
ScreenX: | |
ScreenY: | |
event.pageX event.pageY | |
PageX: | |
PageY: | |
event.layerX event.layerY | |
LayerX: | |
LayerY: |
Press any key or click
the mouse to get the event type. event.type |
|
Event type: | - |
This text is under <p> tag
|
|
Use the script to Stop cancelBubble e.cancelBubble = true; if (e.stopPropagation) e.stopPropagation(); Ref:http://www.quirksmode.org/js/events_order.html |
|
Stop cancelBubble | |
Event Bubbles: | - |
FF:event.target;IE:event.srcElement |
Last Modieified on:
You have days to welcome Next Year