chain drop down select box

Discussion in 'PHP' started by shashikant02, Dec 21, 2010.

  1. #1
    Hi,

    i want to develop a drop down chain box, which should be chained.
    for example the first drop box will having a all country list and on selecting country "India" the next select box will list all state in india and on selecting state, the third select box should show city.

    The list should come from mysql db.

    any idea ?? ho i forgot to mention all this should happen without re-loading the page.
     
    shashikant02, Dec 21, 2010 IP
  2. tvoodoo

    tvoodoo Active Member

    Messages:
    239
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
  3. shashikant02

    shashikant02 Member

    Messages:
    40
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
    #3
    will it support 3 level ? as the demo is for 2 level only
     
    shashikant02, Dec 21, 2010 IP
  4. tvoodoo

    tvoodoo Active Member

    Messages:
    239
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Up to you how you code it... Thats just an example
     
    tvoodoo, Dec 21, 2010 IP
  5. salmanshafiq

    salmanshafiq Well-Known Member

    Messages:
    260
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #5
    Yes it can be coded for unlimited levels. You need to code in that manners.
     
    salmanshafiq, Dec 21, 2010 IP