Полезная информация

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Select.options[] Property

Name

Select.options[] Property---the choices in a Select object

Availability

Navigator 2.0, Internet Explorer 3.0; enhanced in Navigator 3.0

Synopsis

select.options[i]
select.options.length

Description

The options[] property contains an array of Option objects, each of which describe one of the selection options presented within the Select object select. The options.length property specifies the number of elements in the array, as does the select.length property. See the Option object for further details.

In Navigator 3.0, you can modify the options displayed in a Select object in any of the following ways:

See Also

"Option", "Select"


Previous Home Next
Select.onfocus() Book Index Select.selectedIndex

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell