Name

data — NN n/a IE 4 DOM n/a

Synopsis

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.all.soundEffect.data

Value

A complete or relative URL as a string.

Default

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.