Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Passing Multiple Selection List Box

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,1408
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Passing Multiple Selection List Box
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Passing Multiple Selection List Box - 9/29/2004 1:14:54 AM   
  SABmore

 

Posts: 1
Score: 0
Joined: 9/29/2004
From:
Status: offline
I currently have a dynamically populated listbox (an ASP page) that allows for multiple selections:

<select size="7" name="init" multiple>
<option value=<%=objRS(0)%>> <%=objRS(1)%> </option>
</select>

Where postion (0) is a number and position (1) is text.

I need to be able to pass all of the selected variables to a .vbs page, but am having difficulty determining what the user has selected. I'm sure the use of an array as well as the selected index is needed, but this is the part that I can't figure out.

The page the values are passed to will assign variables such as: objInit = ieObj.document.answers.init(0).Value

Any help/guidance you can provide is greatly appreciated!
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Passing Multiple Selection List Box Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts