Menu object represents the HTML <menu> element.
Note: <menu> element is currently no major browsers support.
You can use getElementById () to access the <menu> element:
var x = document.getElementById ( "myMenu");
You can use document.createElement () method to create a <menu> element:
var x = document.createElement ( "MENU");
Attributes | description |
---|---|
label | Sets or returns the label attribute menu |
type | Sets or returns the type attribute value menu |
Menu object also supports the standard attributes and events
HTML Reference Manual: HTML <the MENU> tag