Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

If i make my selection in State Dropdown list, i would the
City and ZipCode dropdown list to be automatically reupdated
based on the State i select.(This to avoid the user select a
City or Zipcode that does not correspond to the State
previously selected.)

Answer Posted / priti

Use AJAX for this problem. Create XMLHttpRequest and hit
server with parameter "state" get the City and Zipcode from
the database and return the output and fill in your City or
Zipcode variable.


Thanks.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get a total number of elements used in the array?

994


What is use of in_array() function in php?

1100


How can you retrieve data from the mysql database using php?

1041


Differentiate echo vs. Print statement.

931


Do you know how to enable error reporting in php?

984


What does the scope of variables mean?

958


What are some new features introduced in php7?

8811


How to redirect a url from http to https in .htaccess?

985


Define about declare construct?

1051


How do you destroy a particular or all Sessions?

1002


What the use of var_dump()?

1044


What are PHP Magic Methods/Functions. List them.

1068


What is ci in php?

1056


What is filter_var?

999


What are the features of object-oriented programming in php?

919