Two Combo Boxes

Results 1 to 5 of 5

Thread: Two Combo Boxes

  1. #1
    Mavrech Guest

    Default Two Combo Boxes

    I have two combo boxes on a form....I want to fill the second box, based upon the selection in the first box. The database that I am reading has both pieces of data in each State&#124City&#124Zip with state repeating for each city in a particular state. Since I have all the data that I need in the recordset from One Select statement, can I do this all on the client side???

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Sure why not

    see if this helps<BR><BR>

  3. #3
    Mavrech Guest

    Default How about a non JavaScript Solution??

    Can this be done without using JavaScript???

  4. #4
    Join Date
    Dec 1969

    Default RE: How about a non JavaScript Solution??

    its even easier that way; however its more server intesive (ie EXPENSIVE) you need a little bit of js to handle the oncange event from the first box, by submitting the form then get the chosen value and fill the second one based on that. this means that you will have to open a new recordset each time the page is called, and the page will have to be called frequently.

  5. #5
    Join Date
    Dec 1969


    See my example there that is all done in ASP. I think it is called "categories" or something to that effect.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts