Javascript Reference
Categories: label_Object

javascript label_Object dataFld

@March 15, 2008, 1:22 a.m.
dataFldFirefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

Read/Write  

Used with IE data binding to associate a remote data source column name with the displayed text of the input element label. A datasrc attribute must also be set for the element. Setting both the dataFld and dataSrc properties to empty strings breaks the binding between element and data source. Works only for text data sources in IE 5 for the Macintosh.

 
Example
 
document.getElementById("myLabel").dataFld = "labelText";
 
Value

Case-sensitive string identifier of the data source column.

 
Default

None.


Powered by Linode.