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 |
Is php front end or back end?
How to remove an empty directory?
What is the difference between the functions unlink and unset?
Is nan in javascript?
Why is php so popular?
1. Write a function to swap two values ? $a = 10; $b = 20; echo $a, $b; swap(); // If u want u can pass parameters echo $a, $b; // It should print 20 , 10
14 Answers Aquasol, Infosys, TCS, Torque Infotech,
Which is the latest version of php?
Do you know what does $globals means?
Why do we use htaccess
What is a simple php method to make a cross domain data request?
What is string and its function?
List out the predefined classes in PHP?