Javascript Reference
Categories: Obj_Button

javascript Obj_Button 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 to a button object's 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.

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

Case-sensitive identifier of the data source column.

 
Default

None.


Powered by Linode.