javascript window frameElement
| frameElement | NN n/a IE 5.5(Win) DOM n/a |
|
|
Read-only |
|
If the current window is a member of a frameset or is an iframe, the frameElement property returns a reference to the frame or iframe element object (distinct from the frame-as-window object). Security restrictions, however, can impede script access to this property. |
|
| Example | |
| var frameID = window.frameElement.id; | |
| Value | |
| Default | |
|
null. |
|
Previous: javascript window frames[ ]
2198,Nickname,Homepage or email,Comments here,Add comment
