Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 11th, 2005, 01:44 PM
Authorized User
 
Join Date: Jul 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default choose option in combobox

ie.Document.All("combo1").SelectedIndex = 2
... so it is posible choose third item of combobox

for example :
<select name="target">
<option value="~" selected>-color-</option>
<option value="Red" >Red (free)</option>
<option value="Green" >Green (full)</option>
<option value="Yellow" >Yellow(free)</option>
<option value="Black" >Black (full)</option>
<option value="White" >White (free)</option>
</select>

how I choose item (for example "Green (full)") by its name (so "Green (full)")?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Check Boxes/Option buttons/Option Group hewstone999 Access VBA 1 March 14th, 2008 07:25 AM
Both "when" hit in choose estranda XSLT 2 June 18th, 2007 09:02 AM
Choose all by date? morpheus SQL Server ASP 3 July 30th, 2005 11:50 PM
xsl:choose djmarquette XSLT 5 March 29th, 2005 11:44 AM
"choose, when, otherwise" - problem natjimy XSLT 8 December 17th, 2004 02:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.