Javascript Reference
Categories: InputTypeText

javascript InputTypeText 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 4 data binding to associate a remote data source column name to a text object's value property. 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 with text file data sources in IE 5/Mac.

 
Example
 
document.myForm.myText.dataFld = "price";
 
Value

Case-sensitive string identifier of the data source column.

 
Default

None.


Powered by Linode.