onDataAvailable (Event handler)

Some data has arrived asynchronously from an applet or data source.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyObject.ondataavailable = aHandler
HTML syntax:<HTMLTag onDataAvailable="...">
Argument list:aHandlerA reference to a function object to handle the event
Supported by objects:APPLET, AREA, BODY, IMG, OBJECT

This event fires periodically as data arrives from data source objects that asynchronously transmit their data.

In a data-driven system, occasionally you will need to wait for the arrival of some data. This event triggers when the data has arrived, and you can build a script that works with the data that is triggered from this event, rather than build some polling code that sits there busily waiting for things to arrive.

See also:Event, Event handler, Event model, Event names, Event object, Event.returnValue, Handler, onDataSetChanged, onDataSetComplete, Semantic event, XML.event