How To Read the Selected Items in a SELECT Control (159757)
The information in this article applies to:
- Microsoft Visual Basic, Scripting Edition 1.1
- Microsoft Visual Basic, Scripting Edition 2.0
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 5
- Microsoft Internet Explorer (Programming) 5.01
- Microsoft Internet Explorer (Programming) 5.5
This article was previously published under Q159757
1.00 1.10 2.00
WINDOWS
kbprg kbhowto
SUMMARY
This article demonstrates how to read what items are selected in a SELECT
control on a Web page using Visual Basic Script. Many reference documents
indicate that a SELECT control has a VALUE property. However, this is not
true. The SELECT control does not have a VALUE property, but the items in
the OPTIONS collection of the SELECT control do.
If you are not familiar with the SELECT control, it is similar to the
ListBox control in Visual Basic.
REFERENCESFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbhowto KB159757 |
---|
|