Click to return to the DHTML, HTML     
oncut Event     ondatasetchanged Event     DHTML Events    
Web Workshop  |  DHTML, HTML & CSS

ondataavailable Event


Fires periodically as data arrives from data source objects that asynchronously transmit their data.

Syntax

Inline HTML<ELEMENT ondataavailable = "handler" ... >All platforms
Event propertyobject.ondataavailable = handlerJScript (compatible with ECMA 262 language specification) only
Named script<SCRIPT FOR = object EVENT = ondataavailable>Internet Explorer only

Remarks

BubblesYes
CancelsNo
To invoke Fires when new data is received from the data source.
Default action Signals that new data is available.

This event originates from data source objects.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, the handler can query the event object for data.

Event Object Properties

bookmarksReturns a collection of ADO bookmarks tied to the rows affected by the current event.
boundElementsReturns a collection of all elements on the page bound to a dataset.
cancelBubbleSets or retrieves whether the current event should bubble up the hierarchy of event handlers.
dataFldSets or retrieves which field of a given data source (as specified by the dataSrc property) to bind to the given object.
recordsetRetrieves a reference to the default recordset from a data source object.
srcElementRetrieves the object that fired the event.
typeRetrieves the event name from the event object.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
APPLET, OBJECT, XML

See Also

Data Binding



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.