I have two dropdown lists in my HTML form. In first dropdown list, I have some countries name already added in HTML form. In second drop down list there is no item yet except "Select choice". Now my problem is that I want that when i click on any country in first dropdown list, then with the help of AJAX,PHP and MYSQL, all the states of the selected country is added to the second dropdown list dynamically wihout reloading the page. Please help!!!
Im using PHP, AJAX and MySQL for Database.
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.