Retrieves the type of select control based on the value of the multiple attribute.
dhtml语法
| html | n/a |
|---|
| scripting | [ stype = ] select.type |
|---|
dhtml可能的值
| sType | String that
receives one of the following values.| select-multiple | The MULTIPLE attribute is true. Multiple option elements can be selected. | | select-one | Default. The MULTIPLE attribute is false. Only one OPTION element can be selected. |
|
The property is read-only.
The property has a default value of
select-one.
是否符合公共标准
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1
.
Applies To