codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Swapping information between two list boxes  beckystone78 at 02:02 on Thursday, December 04, 2003
 

I am desiging a page with three list boxes on it:

1. Drop down box populated from a database query
2. List box (multiple select capable) populated based on what the user selects from box 1.
3. List box (multiple select capable) populated and depopulated based on what the user adds and removes.

Boxes 1 and 2 are working fine.

[u]My problem is with box number three.[/u]

I want the user to be able to make multiple selections from box 2 and have the selected data move to box 3. Between boxes 2 and 3 i want the user to be able to click add and remove to move the data back and forth.

Once the user had made his/her decision on what the final data should be (the final data is everything in box 3), I want them to click on submit and pass the data from box 3 to a new page where the corresponding database information will show. I am sure that if I can figure out the basic swapping principle the passing of the data will not be a problem. So I am basically stuck on the swapping part.

I do not know how to set this up. I am coding using VBScript on ASP pages. If I can keep this done through ASP, that would be best, but I am open to using JS functions if this is the only way. Any help would be greatly appreciated.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: onload event
•  Active Widgets
•  Re: onmouseover change image and text
•  Line Printer Interface
•  import contacts of msn/yahoo
•  Call windows apps from web apps
•  Re: ASP.NET web controls
•  netscape 6 browser problem
•  Re: Print .doc file from the website using System.Diagnostics.Process


Recent Articles
Communicating with the Database (Using ADO)
MagicGrid
Simple Thumbnail Browsing Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005