Availability: |
| |||
Property/method value type: | Boolean primitive | |||
JavaScript syntax: | IE | myObject.ondataavailable = aHandler | ||
HTML syntax: | <HTMLTag onDataAvailable="..."> | |||
Argument list: | aHandler | A 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.
Prev | Home | Next |
onCut | Up | onDataSetChanged |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |