Constructors
| Constructor | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | ||
|---|---|---|---|---|---|---|---|---|---|
|
HTMLMenuElement Constructor() : HTMLMenuElement
Creates an instance of the HTMLMenuElement.
|
Show Details | no | no | no | no | no | no | ||
HTMLMenuElement() : HTMLMenuElementCreates an instance of the HTMLMenuElement. Returns
|
|||||||||
Properties
| Property | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape |
|---|---|---|---|---|---|---|---|
|
type
: String
Specifies the kind of menu being declared.
|
Show Details | no | no | no | no | no | no |
|
|||||||
|
label
: String
Specifies the label for the menu.
|
Show Details | no | no | no | no | no | no |
|
|||||||
Inherited Functions
| Method | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
getElementsByClassName(String classNames) : NodeList
Returns a NodeList containing all the
Element nodes with the specified classNames. |
Show Details | 1.9+ | 5.0+ | 3.1+ | 9.51+ | no | no | |||||
|
Parameters
Returns
|
||||||||||||
References
Availability
JavaScript 1.2|WhatWG