Click to Rate and Give Feedback
Properties
 type Property
type Property

Retrieves the type of select control based on the value of the MULTIPLE attribute.

Syntax

HTMLN/A
Scripting[ sType = ] SELECT.type

Possible Values

sTypeString that receives one of the following values.
select-multipleThe MULTIPLE attribute is true. Multiple OPTION elements can be selected.
select-oneDefault. 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.

Standards Information

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

SELECT
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker