eventPhase JavaScript (JS) Example: HTML DOM Objects – Other Event Attributes – eventPhase JavaScript (JS) Example
eventPhase JavaScript (JS) Example: HTML DOM Objects – Other Event Attributes – eventPhase JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the eventPhase Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.eventPhase – returns the eventPhase. This does not work in IE. Restrictions: None Notes: You can build your own... [Read More...]
currentTarget JavaScript (JS) Example: HTML DOM Objects – Other Event Attributes – currentTarget JavaScript (JS) Example
currentTarget JavaScript (JS) Example: HTML DOM Objects – Other Event Attributes – currentTarget JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the currentTarget Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.currentTarget – returns the element that triggered the event. This does not work in IE, but you can use srcElement... [Read More...]
cancelable JavaScript (JS) Example: HTML DOM Objects – Other Event Attributes – cancelable JavaScript (JS) Example
cancelable JavaScript (JS) Example: HTML DOM Objects – Other Event Attributes – cancelable JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the cancelable Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.cancelable – returns whether default behavior for event is cancelable. Restrictions: None Notes: You can build... [Read More...]
bubbles JavaScript (JS) Example: HTML DOM Objects – Other Event Attributes – bubbles JavaScript (JS) Example
bubbles JavaScript (JS) Example: HTML DOM Objects – Other Event Attributes – bubbles JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the bubbles Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.bubbles – returns whether event bubbling occurs. Restrictions: None Notes: You can build your own library of syntax examples... [Read More...]
shiftKey JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – shiftKey JavaScript (JS) Example
shiftKey JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – shiftKey JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the shiftKey Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.shiftKey=true|false|1|0 – returns whether the shift key was pressed. Restrictions: None Notes: You can build your... [Read More...]
screenY JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – screenY JavaScript (JS) Example
screenY JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – screenY JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the screenY Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.screenY – returns the vertical position on the clients screen for the mouse position. Restrictions: None Notes: You can... [Read More...]
screenX JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – screenX JavaScript (JS) Example
screenX JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – screenX JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the screenX Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.screenX – returns the horizontal position on the clients screen for the mouse position. Restrictions: None Notes: You... [Read More...]
relatedTarget JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – relatedTarget JavaScript (JS) Example
relatedTarget JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – relatedTarget JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the relatedTarget Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.relatedTarget – returns the element related to the element that triggered the event. Restrictions: None... [Read More...]
metaKey JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – metaKey JavaScript (JS) Example
metaKey JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – metaKey JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the metaKey Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.metaKey=true|false|1|0 – returns whether the meta key was pressed. The meta key is the ctrl key on a Mac. Restrictions:... [Read More...]
ctrlKey JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – ctrlKey JavaScript (JS) Example
ctrlKey JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – ctrlKey JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the ctrlKey Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.ctrlKey=true|false|1|0 – returns whether the ctrl key was pressed. Restrictions: None Notes: You can build your own... [Read More...]
clientY JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – clientY JavaScript (JS) Example
clientY JavaScript (JS) Example: HTML DOM Objects – Mouse/Keyboard Attributes – clientY JavaScript (JS) Example Purpose: – Illustrates the JavaScript syntax for the clientY Event Attribute. View Other Attributes and Handlers for DOM Events Prerequistes: Install Visual Web Developer 2008 Syntax: event.clientY – returns the horizontal coordinate of the client area) indicating the position of the mouse pointer when an event... [Read More...]