Tin mới
JavaScript: Scripting language
Web APIs: Programming interfaces
Structuring content with HTML module
Dynamic scripting with JavaScript module
Returns or sets the number of options in the collection.
HTMLOptionsCollection.selectedIndex
Returns or sets the number of options in the collection.
Appends an HTMLOptionElement or HTMLOptGroupElement element to the collection of option elements or adds it before a specified option.
Appends an HTMLOptionElement or HTMLOptGroupElement element to the collection of option elements or adds it before a specified option.
HTMLOptionsCollection.remove()
Appends an HTMLOptionElement or HTMLOptGroupElement element to the collection of option elements or adds it before a specified option.
This page was last modified on Apr 10, 2025 by MDN contributors.