multiple select boxes

Results 1 to 2 of 2

Thread: multiple select boxes

  1. #1
    Join Date
    Dec 1969

    Default multiple select boxes

    I have two select boxes. When the page loads, it reads a database and fills in the first selection box with the choices. When you select a record in the 1st selection box, I need it to read the database and fill in the 2nd select box with the specific records based on the selection.<BR>So far I have created the the two boxes and filled in the 1st one with the choices. <BR>&#060;select size="1" name="devcategory" language=vbscript onChange="check_data"&#062;<BR><BR>Below that, I setup the vbscript function but I&#039;m unable to get the data and fill in the 2nd select box.<BR>&#060;script language=vbscript&#062;<BR>sub check_data()<BR> ???<BR>end sub<BR>&#060;/script<BR>&#060;/body&#062;<BR><BR>Any thoughts or suggestions?

  2. #2
    Join Date
    Dec 1969

    Default Mixing server-side and ...

    .. client-side code.<BR><BR>See the FAQs on in the Nature of Things category.<BR><BR>But, to do what you need to do, see Bill W&#039;s site:<BR><BR><BR>And, search for "dependent listboxes".

Posting Permissions

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