Displaying data from Dropdownlist

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • songhita
    New Member
    • Aug 2007
    • 3

    Displaying data from Dropdownlist

    Hi, i have a problem with php and dropdownlist . Suppose there are three tables COUNTRY, STATE & DISTRICT. When user pressed frist ddlist , the respective state name will display, again when user pressed 2nd ddlist corresponding district and area must come in a table. I dont know how to progress, plz help
  • vituko
    New Member
    • Dec 2006
    • 48

    #2
    Event : onchange / onblur / onclick,...
    1- You have all the distr of all the reg of all the countr in a js array.
    2- You reload the page.
    3- You load through any ajax solution (iframe / xmlhttprequest) the related data.

    Search in google, I've seen more than once implementations of this concept.

    Comment

    • songhita
      New Member
      • Aug 2007
      • 3

      #3
      thnx for ur reply, i hav solve it.

      Comment

      • pbmods
        Recognized Expert Expert
        • Apr 2007
        • 5821

        #4
        Heya, songhita. Welcome to TSDN!

        Glad to hear you got it working! Good luck with your project, and if you ever need anything, post back anytime :)

        Comment

        Working...