Here we populate or fill the drop-down list using the data from another drop-down list on the same page.
We use AJAX query in onchange() function of each drop-down list to populate or refill the another drop-down list.
The data is fetched from MySQL.
The link for google api is:
https://ajax.googleapis.com/ajax/libs...
The source code can be downloaded from
https://drive.google.com/file/d/1CA58...