onClick

This event handler will execute the instruction(s) when the object it has been assigned to is clicked with the mouse.

syntax:

document.onClick = function()

The onClick Event Handler is used with the following:

A
ACRONYM
ADDRESS
APPLET
AREA
B
BIG
BLOCKQUOTE
BODY
BUTTON
CAPTION
CENTER
CITE
CODE
DD
DEL
DFN
DIR
DIV
DL
DT
EM
FIELDSET
FONT
FORM
H1
H2
H3
H4
H5
H6
HR
I
IMG
INS
KBD
LABEL
LEGEND
LI
LISTING
MAP
MARQUEE
MENU
OBJECT
OL
P
PLAINTEXT
PRE
Q
S
SAMP
SELECT
SMALL
SPAN
STRIKE
STRONG
SUB
SUP
TABLE
TBODY
TD
TEXTAREA
TFOOT
THEAD
TH
TR
TT
U
UL
VAR
XMP
button
checkbox
document
fileUpload
password
radio
reset
submit
text