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
Is array function in php?
What is difference between single quotes and double quotes in php?
How come the code works, but does not for two-dimensional array of mine?
What is the maximum size of a database in mysql?
Can constructor be private in php?
How to test if a variable is an array?
Write a program to get second highest number in an array using php?
How is a session id generated?
What are the encryption functions in php?
What is == and === in php?
What is the php function that removes the first element of the array and returns it?
What is the importance of "method" attribute in a html form?
What language is php written in?
Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?
What is the basic syntax of Php?