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
What is the use of preg_match in php?
What are the __construct() and __destruct() methods in a php class?
What are the advantages of stored procedures in php?
Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
What is prepare in php?
Explain setcookie() function in php?
What are the three parts of an http request?
What is csrf verification?
How long should a session last?
Why php is also called as scripting language?
Who developed php?
What is the difference between abstract class and interface in php?
Is json a string php?
How is the comparison of objects done in php?
How to repeat a string to a specific number of times in php?