javascript layer name
| name | NN |4| IE n/a DOM n/a |
| Read-only | |
|
This is the identifier associated with a layer for use as the value assigned to target attributes or as script references to the frame. If no value is explicitly assigned to the id attribute, Navigator automatically assigns the name attribute value to the id attribute. |
|
| Example | |
if (document.layers[2].name == "main") {
...
}
|
|
| Value | |
Case-sensitive identifier that follows the rules of identifier naming: it may contain no whitespace, cannot begin with a numeral, and should avoid punctuation except for the underscore character. |
|
| Default | |
None. |
|
Previous: javascript layer pageX, pageY
Next: javascript layer left
1146,Nickname,Homepage or email,Comments here,Add comment
