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 php simple definition?
How to check curl is enabled or not in PHP
How does php work with apache?
Do you know design patterns. List few?
how to use particular city location in php?
Explain array_uintersect()?
What is the use of stripslashes in php?
What is meant by urlencode and urldocode?
Make a "dynamic drop down list" with using only PHP,HTML and MySQL..
What is isset function in php?
How does the identity operator ===compare two values in PHP?
Write a program to upload a file in php?