Category Subject Sinopsys Description Example
onAbort Executes JavaScript code when the user aborts the loading of an image
onBlur Executes JavaScript code when a form element loses focus or when a window or frame loses focus
onChange Executes JavaScript code when a Select, Text, or Textarea field loses focus and its value has been modified
Mouse onClick Executes JavaScript code when an object on a form is clicked
Mouse onDblClick Executes JavaScript code when the user double-clicks a form element or a link
onDragDrop Executes JavaScript code when the user drops an object onto the browser window, such as dropping a file
onError Executes JavaScript code when the loading of a document or image causes an error
onFocus Executes JavaScript code when a window, frame, or frameset receives focus or when a form element receives input focus
Keyboard onKeyDown Executes JavaScript code when the user depresses a key
Keyboard onKeyPress Executes JavaScript code when the user presses or holds down a key
Keyboard onKeyUp Executes JavaScript code when the user releases a key
Page onLoad Executes JavaScript code when the browser finishes loading a window or all frames within a FRAMESET tag
Mouse onMouseDown Executes JavaScript code when the user depresses a mouse button
Mouse onMouseMove Executes JavaScript code when the user moves the cursor
Mouse onMouseOut Executes JavaScript code each time the mouse pointer leaves an area (client-side image map) or link from inside that area or link
Mouse onMouseOver Executes JavaScript code once each time the mouse pointer moves over an object or area from outside that object or area
Mouse onMouseUp Executes JavaScript code when the user releases a mouse button
Mouse onMove Executes JavaScript code when the user or script moves a window or frame
Form onReset Executes JavaScript code when a user resets a form (clicks a Reset button)
Page onResize Executes JavaScript code when a user or script resizes a window or frame
onSelect Executes JavaScript code when a user selects some of the text within a text or textarea field
Form onSubmit Executes JavaScript code when a user submits a form
Page onUnload Executes JavaScript code when the user exits a document