Object name attribute
Definition and Usage
name
Sets or returns the name of the <object> element name attribute value.
The name attribute specifies the name of the object.
See also:
HTML Reference Manual:HTML <object> name Ating
HTML Reference Manual:HTML <object> Tag
Example
Example 1
Get the name of the <object> element:
var x = document.getElementById("myObject").name;
Example 2
Change the name of the <object> element:
document.getElementById("myObject").name = "newObjName";
Syntax
Return name attribute:
objObject.name
Iset ang pangalan ng ating:
objObject.name = name
Halaga ng Ating
Halaga | Paglalarawan |
---|---|
name | Tinutukoy ang pangalan ng <object> elemento. |
Detalye ng Teknolohiya
Halimbawa ng Balinghaying Bumalik: | Ang string na halaga na naglalarawan sa pangalan ng <object> elemento. |
---|
Suporta ng Browser
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Suporta | Suporta | Suporta | Suporta | Suporta |