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
Tell me what is mean by an associative array?
How can you get the size of an image in PHP?
What is the difference between javascript and php?
Can I learn laravel without php?
How check submit button is clicked in php?
What is php compared to html?
Tell me what is the use of "enctype" attribute in a html form?
How to get number of days between two given dates using PHP?
Tell me how can we determine whether a php variable is an instantiated object of a certain class?
What is self in php?
Explain the installation of PHP on UNIX systems?
How to assigning a new character in a string?
What is basename php?
Is it more secure to use cookies to transfer session ids?
Is php worth learning in 2019?