I have a searching form that shows a list.
In the form there is a dependant select for the cities (when a country is selected the select for the cities is shown).
The problem: when I submit the form, the page is refreshed so the select for the cities disappear.. What should I do to mantain that select after pushing submit? should I submit the form using ajax?
make a checking like
if($_POST["county"]!=""){"load your cities drop down. and city drop down will be filtered by county drop down."}. thinks it will help you.