Advanced Search

Results 1 to 4 of 4

Thread: chained select boxes that populate a text box

  1. #1
    Join Date
    Mar 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default chained select boxes that populate a text box

    What I am trying to accomplish is a form that contains two select menus, Menu A and Menu B, as well as a Text Box.

    Menu A will contain a list of states, when a state is chosen I want Menu B to populate with a list of cities in that state. After a City is selected in Menu B i want the Text Box to populate with information pertaining to the city.

    So far the only codes I have found were either to chain the two Menus together or to chain a Menu to a Text Box.

    I could really use some help on this, even if you could point me towards a site with something like this already going on.

    I would like to get it to get the information from an external XML document, but as of right now I just want it to work!

    I thank you all in advance.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,709
    Thanks
    43
    Thanked 3,134 Times in 3,098 Posts
    Blog Entries
    12

    Default

    The author is no longer a regular here (he does check in from time to time) and his site is either down or moved, but this script should be able to do most if not all of what you want:

    http://www.dynamicdrive.com/dynamici...dependency.htm
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I do not see how this code ca help me populate a text box with information based off of he selections made. Also, the select menus I am working with will be pull down.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,709
    Thanks
    43
    Thanked 3,134 Times in 3,098 Posts
    Blog Entries
    12

    Default

    t s y istake hen.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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