Previous Topic Tutorial Table of Contents Next Topic

JavaScripttutorial

Listing of the JavaScript Event Handlers

Event Handler
html Tags
Document Object Owner
Navigator Compatibility
Explorer Compatibility
onAbort=
<img>
image
NN3
IE4
onBlur=
<body>
window
NN3
IE4
<LAYER>
layer
NN4
X
<input>
text*
NN2
IE3
onChange=
<input>
text*
NN2
IE3
<select>
select
NN2
IE3
onClick=
<A> 
link
NN2
IE3
<AREA>
area
NN2
IE3
<input>
button/submit/reset
NN2
IE3
<input>
checkbox
NN2
IE3
<input>
radio
NN2
IE3
onDblClick=
<A>
link
NN4 (not in Mac)
IE4
onDragDrop=
 <body>
window
NN4
X
onError=
<img> 
image
NN3
IE4
onFocus=
<body>
window
NN3
IE4
<input>
text*
NN2
IE3
<LAYER>
layer
NN4
X
onKeyDown=
<input>
text*
NN2
IE4
onKeyPress=
<input>
text*
NN2
IE4
 onKeyUp=
 <input>
text*
NN2
IE4
onLoad=
<body>
window
NN2
IE3
<img>
image
NN3
IE4
<LAYER>
layer
NN4
X
onMouseDown=
<A>
link
NN4
IE4
<input>
button/submit/reset
NN4
IE4
<input>
checkbox
NN4
IE4
<input>
radio
NN4
IE4
onMouseOut=
<A>
link
NN2
IE3
<AREA>
area
NN2
IE3
<LAYER>
layer
NN4
X
onMouseOver=
<A>
link
NN3
IE4
<AREA>
area
NN3
IE4
<LAYER>
layer
NN4
X
onMouseUp=
 <A>
link
NN4
IE4
<input>
button/submit/reset
NN4
IE4
<input>
checkbox
NN4
IE4
<input>
radio
NN4
IE4
onMove=
<body>
window
NN4
X
onReset=
<form>
form
NN3
IE4
onResize=
 <body>
window
NN4
IE4
 onSelect=
 <input>
text*
NN2
IE3
onSubmit=
<form>
form
NN2
IE3
onUnload=
 <body>
window
NN4
IE4

*"text" here includes Text, Textarea and Password objects

Note:  The minimum compatibility showing is given in the latter two columns.  Thus, an event handler implemented in NN3 is available in NN4 as well, but not in NN2.

'X' means that it is not available in any version of the browser.
 

Previous Topic Tutorial Table of Contents Next Topic