We are constantly accelerating upwards and outwards from the Earth. I know, I can feel it.” Anon
A resource for web developers a code snippet library with step by step tutorials.

a resource for web developers...

       

Search Amazon

Events handlers.


Lists event handlers available in XHTML. Note: XHTML attributes are lower-case.

 

See XHTML: Basics plus or JavaScript: Forms

 

Event handler attributes:


onabort

The loading of an image is aborted.

onblur

A document, window or form element loses focus.

onchange

A field is modified and loses focus.

onclick

Mouse clicks an object or element.

ondblclick

Mouse double-clicks an object or element.

ondragdrop

A dragged object is dropped.

onerror

An error occurs when loading a document or an image.

onfocus

A document, window or form element receives focus.

onkeydown

The user presses or holds down a keyboard key.

onkeypress

The user presses or holds down a character keyboard key. (This event raises a few browser incompatibility issues.)

onkeyup

The user releases a keyboard key.

onload

A document or image finishes loading.

onmousedown

Mouse button is pressed.

onmousemove

Mouse is moved.

onmouseout

Mouse is moved off an object or element.

onmouseover

Mouse is moved over an object or element.

onmouseup

Mouse button is released.

onmove

A window or element is moved.

onreset

A form's reset button is clicked.

onresize

A window is resized.

onselect

Text is selected.

onsubmit

A form is submitted.

onunload

The user exits the document.


Rate this page:








Back to top.

 

Bookmark and Share

 

Copyright © 2006-2010 justfigures.co.uk