Frame/IFrame name property
Frame/IFrame Object
Definition and Usage
The name property can set or return the value of the name attribute of the frame/iframe element.
Syntax
frameObject.name=
name
or
iframeObject.name=
name
Browser support





All major browsers support the name property.
Example
Example
Return the value of the name property:
document.write(document.getElementById("myframe").name);
Try it »
Frame/IFrame Object