Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    an issue with the drop down

    hello everybody,

    i am trying to learn php on my own and i have an issue with the drop down box in php. i would like to use 3 drop down boxes one for the state, second for the district and the third for the pincode.

    when the page loads for the first time then only one drop down should be present and when the user selects any state then one more should appear automatically with the list of districts in that state and when the user selects the district then one more drop down should appear with the different pincodes available for that district.

    like this it should be done automatically and should be visible only one after the other and the values should remain same in the drop down boxes.

    if you do not understand this then you can imagine the selection of the category and sub category in any forum or journals.

    so can any one guide me the process how can that be done.

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    Would you be OK with using Javascripting, like this?
    http://javascript.internet.com/forms...down-list.html


  •  

    Posting Permissions

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