Easy Tutorial
❮ Event Currenttarget Dom Obj Track ❯

Select length Property


Definition and Usage

The length property returns the number of options in the dropdown list.

Syntax


Browser Support

All major browsers support the length property.


Example

Example

Display the number of options in the dropdown list:


❮ Event Currenttarget Dom Obj Track ❯