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.)
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest_shah
u can do this with javascirpt.update ur dropdownlist with
selected values using javascript variable.and return it with
ur script.
| Is This Answer Correct ? | 3 Yes | 1 No |
What is if isset ($_ post submit )) in php?
What is faster?
What are different ways to redirect from on page to other?
What is the function mysql_pconnect() usefull for?
How can we destroy the session, how can we unset the variable of a session?
difference of move(), and copy() function in php?
How can you pass a variable by reference?
What is namespace and use in php?
What is the difference between get and post method in php?
What is meant by public, private, protected, static and final scopes?
How to create database connection and query in php?
What is symfony php?