AJAX

Facebook Twitter

Ajax - Asynchronous JavaScript + XML. Ajax PHP two Dependant drop down list with out reloading page. Please read the basic drop down list box control tutorial.

Ajax PHP two Dependant drop down list with out reloading page

We will try to develop similar functionality by using Ajax (asynchronous JavaScript and XML) and PHP. The biggest advantage of using Ajax here is we need not reload the page again. Website Design Ireland, Website Development. One of the members on Irish WebMaster Forums asked for help in creating a simple dependent select menu and the most obvious option is by using Ajax, so I decided to put up this post with step-by-step instructions.

Website Design Ireland, Website Development

First, create a new PHP page (as we are going to use php for this) and name it “page1.php“. On this page we are going to add the following javascript code, which will take care of our XMLHTTP request.