javascript OBJECT data

dataNN 6 IE 4 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.


1375,Nickname,Homepage or email,Comments here,Add comment