Javascript Reference
Categories: A

javascript A dataFld

@March 15, 2008, 1:22 a.m.

dataFld Firefox/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 value in lieu of an href attribute for a link. The 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 with text file data sources in IE 5/Mac.

 
Example
 
document.getElementById("hotlink").dataFld = "linkURL";
 
Value

Case-sensitive identifier of the data source column.

 
Default

None.


Powered by Linode.