Javascript Reference
Categories: OBJECT

javascript OBJECT data

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

Read-only  

URL of a file containing data for the object element (as distinguished from the object itself). Relative URLs are calculated relative to the codebase attribute if one is assigned; otherwise, the URL is relative to the document's URL.

 
Example
 
var objDataURL = document.getElementById("soundEffect").data;
 
Value

A complete or relative URL as a string.

 
Default

None.


Powered by Linode.