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 does the initials of php stand for?
What is the difference between die () and exit () in php?
What is a php namespace?
What is php form validation?
Explain about the connective abilities of the PHP?
What is a stored procedure in mysql?
How to read the entire file into a single string?
Do you know how to enable error reporting in php?
What is htmlspecialchars?
Why namespace is used in php?
What is php and features of php?
How send email using php?
How to return a value back to the function caller?
What is binary safe function in php?
How to call php function in jquery?