http://msdn.microsoft.com/en-us/library/ms533051%28v=VS.85%29.aspx
适用于IE
DHTML Events
This section contains the events exposed by the Dynamic HTML (DHTML) Object Model.
Events
onabortFires when the user aborts the download.
onactivateFires when the object is set as the active element .
onafterprintFires on the object immediately after its associated document prints or previews for printing.
onafterupdateFires on a databound object after successfully updating the associated data in the data source object.
onbeforeactivateFires immediately before the object is set as the active element .
onbeforecopyFires on the source object before the selection is copied to the system clipboard.
onbeforecutFires on the source object before the selection is deleted from the document.
onbeforedeactivateFires immediately before the activeElement is changed from the current object to another object in the parent document.
onbeforeeditfocusFires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected .
onbeforepasteFires on the target object before the selection is pasted from the system clipboard to the document.
onbeforeprintFires on the object before its associated document prints or previews for printing.
onbeforeunloadFires prior to a page being unloaded.
onbeforeupdateFires on a databound object before updating the associated data in the data source object.
onblurFires when the object loses the input focus.
onbounceFires when the behavior property of the marquee object is set to "alternate" and the contents of the marquee reach one side of the window.
oncanplayOccurs when playback is possible, but would require further buffering.
oncanplaythroughOccurs when playback to end is possible without requiring a stop for further buffering.
oncellchangeFires when data changes in the data provider.
onchangeFires when the contents of the object or selection have changed.
onclickFires when the user clicks the left mouse button on the object.
oncontextmenuFires when the user clicks the right mouse button in the client area, opening the context menu.
oncontrolselectFires when the user is about to make a control selection of the object.
oncopyFires on the source element when the user copies the object or selection, adding it to the system clipboard.
oncutFires on the source element when the object or selection is removed from the document and added to the system clipboard.
ondataavailableFires periodically as data arrives from data source objects that asynchronously transmit their data.
ondatasetchangedFires when the data set exposed by a data source object changes.
ondatasetcompleteFires to indicate that all data is available from the data source object.
ondblclickFires when the user double-clicks the object.
ondeactivateFires when the activeElement is changed from the current object to another object in the parent document.
ondragFires on the source object continuously during a drag operation.
ondragendFires on the source object when the user releases the mouse at the close of a drag operation.
ondragenterFires on the target element when the user drags the object to a valid drop target.
ondragleaveFires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
ondragoverFires on the target element continuously while the user drags the object over a valid drop target.
ondragstartFires on the source object when the user starts to drag a text selection or selected object.
ondropFires on the target object when the mouse button is released during a drag-and-drop operation.
ondurationchangeOccurs when the duration attribute is updated.
onemptiedOccurs when the media element is reset to its initial state.
onendedOccurs when the end of playback is reached.
onerrorRaised when there is an error that prevents the completion of the cross-domain request.
onerrorFires when an error occurs during object loading.
onerrorupdateFires on a databound object when an error occurs while updating the associated data in the data source object.
onfilterchangeFires when a visual filter changes state or completes a transition.
onfinishFires when marquee looping is complete.
onfocusFires when the object receives focus.
onfocusinFires for an element just prior to setting focus on that element.
onfocusoutFires for the current element with focus immediately after moving focus to another element.
onhashchangeRaised when there are changes to the portion of a URL that follows the number sign (#).
onhelpFires when the user presses the F1 key while the browser is the active window.
onkeydownFires when the user presses a key.
onkeypressFires when the user presses an alphanumeric key.
onkeyupFires when the user releases a key.
onlayoutcompleteFires when the print or print preview layout process finishes filling the current LayoutRect object with content from the source document.
onloadRaised when the object has been completely received from the server.
onloadFires immediately after the browser loads the object.
onloadeddataOccurs when media data is loaded at the current playback position.
onloadedmetadataOccurs when the duration and dimensions of the media have been determined.
onloadstartOccurs when Windows Internet Explorer begins looking for media data.
onlosecaptureFires when the object loses the mouse capture.
onmessageFires when the user sends a cross-document message with postMessage .
onmousedownFires when the user clicks the object with either mouse button.
onmouseenterFires when the user moves the mouse pointer into the object.
onmouseleaveFires when the user moves the mouse pointer outside the boundaries of the object.
onmousemoveFires when the user moves the mouse over the object.
onmouseoutFires when the user moves the mouse pointer outside the boundaries of the object.
onmouseoverFires when the user moves the mouse pointer into the object.
onmouseupFires when the user releases a mouse button while the mouse is over the object.
onmousewheelFires when the wheel button is rotated.
onmoveFires when the object moves.
onmoveendFires when the object stops moving.
onmovestartFires when the object starts to move.
onmssitemodeinstalledOccurs when a pinned site shortcut is successfully added to the Start menu.
onmssitemodejumplistitemremovedOccurs when an item is removed from a Jump List.
onmsthumbnailclickOccurs when a user clicks a button in a Thumbnail Toolbar.
onofflineRaised when Internet Explorer is working offline.
ononlineRaised when Internet Explorer is working online.
onpageNot implemented.
onpasteFires on the target object when the user pastes data, transferring the data from the system clipboard to the document.
onpauseOccurs when playback is paused.
onplayOccurs when the play method is requested.
onplayingOccurs when the audio or video has started playing.
onprogressOccurs to indicate progress while downloading media data.
onprogressRaised when the browser starts receiving data from the server.
onpropertychangeFires when a property changes on the object.
onratechangeOccurs when the playback rate is increased or decreased.
onreadystatechangeSets or retrieves the event handler for asynchronous requests.
onreadystatechangeFires when the state of the object has changed.
onresetFires when the user resets a form.
onresizeFires when the size of the object is about to change.
onresizeendFires when the user finishes changing the dimensions of the object in a control selection.
onresizestartFires when the user begins to change the dimensions of the object in a control selection.
onrowenterFires to indicate that the current row has changed in the data source and new data values are available on the object.
onrowexitFires just before the data source control changes the current row in the object.
onrowsdeleteFires when rows are about to be deleted from the recordset.
onrowsinsertedFires just after new rows are inserted in the current recordset.
onscrollFires when the user repositions the scroll box in the scroll bar on the object.
onseekedOccurs when the seek operation ends.
onseekingOccurs when the current playback position is moved.
onselectFires when the current selection changes.
onselectionchangeFires when the selection state of a document changes.
onselectstartFires when the object is being selected.
onstalledOccurs when the download has stopped.
onstartFires at the beginning of every loop of the marquee object.
onstopFires when the user clicks the Stop button or leaves the Web page.
onstorageFires when a DOM Storage area is updated.
onstoragecommitFires when a local DOM Storage area is written to disk.
onsubmitFires when a FORM is about to be submitted.
onsuspendOccurs if the load operation has been intentionally halted.
ontimeoutRaised when there is an error that prevents the completion of the request.
ontimeupdateOccurs to indicate the current playback position.
onunloadFires immediately before the object is unloaded.
onvolumechangeOccurs when the volume is changed, or playback is muted or unmuted.
onwaitingOccurs when playback stops because the next frame of a video resource is not available.