OptionMenu.getNItems

uint getNItems()

Gets the length of the menu.

Returns

the number of #WebKitOptionMenuItem<!-- -->s in menu