Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
The HTMLSelectElement.item() method returns the Element corresponding to the HTMLOptionElement whose position in the options list corresponds to the index given in the parameter, or null if there are none.
In JavaScript, using the array bracket syntax with an unsigned long, like selectElt[index] is equivalent to selectElt.item(index).
A non-negative integer representing the position of the option in the list.
An HTMLOptionElement or null.
| HTML # dom-select-item-dev |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Apr 22, 2026 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.