This is part of the MSIE data binding mechanism that associates a column name in the data source with the value property of an Anchor object. You must also set the dataSrc property for the object. Normally, both the dataFld and dataSrc values would be defined with the DATAFLD and DATASRC HTML tag attributes in the document source.
Note that the value is case sensitive and must refer to a column that exists within the data source.
Setting both the dataFld and dataSrc properties to an empty string will disconnect the element from the database.
Prev | Home | Next |
Anchor.coords | Up | Anchor.dataSrc |
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. |