dynamic data population using html dropdownlist control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xavier rajan s
    New Member
    • Sep 2010
    • 1

    dynamic data population using html dropdownlist control

    hai everyone

    i am new to PHP. i have problem in dynamically populate data over two dropdownlistbox .

    first dropdownlistbox contain areacode and second dropdownlistbox shows corresponding data for the first dropdownlistbox without submitting the form.

    help me.
  • HaLo2FrEeEk
    Contributor
    • Feb 2007
    • 404

    #2
    You need to look into AJAX. AJAX is a pretty neat technology that allows you to submit a PHP form to the server using Javascript, the result of which is returned to the Javascript and printed to the page, without needing to reload. An example is here:



    Put in an Xbox Live gamertag (if you don't have one, use HaLo2FrEeEk, my gamertag,) and click the button. Without reloading the page, the data is submitted to the server, processed, and the result (a list of videos associated with that gamertag) is returned to the page.

    JQuery has a great library that allows very easy implementation of AJAX, check it out here:

    Comment

    Working...