O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dynamic HTML and the Data Source Object

Another Dynamic HTML capability works hand in hand with Microsoft's Data Source Object to enable what is called data binding. The Data Source Object is an ActiveX Control that references an external file to provide data for the HTML document. Dynamic HTML enables you to use the datasrc and datafld attributes to bind this data to HTML elements. This way, the data displayed within a document can be kept separate from the formatting. Also, after the data is transmitted to the client Web browser, the Data Source Object can perform operations on it locally.

Data Binding Events

A collection of events is associated with HTML elements that are data bound using the datasrc and datafld attributes. The following list ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required