I have country,state dropdowns and a city textbox with autocomplete feature.My issue is,when I change state, it is displaying previously selected cities since city autocomplete takes data from cache instead of calling server with new stateid.City autocomlete request server response with new stateid only if the cities are not in the selected list.Please give a solution for this issue.Thanks in advance.
A:
make sure to include:
$.ajaxSetup({ cache: false });
in your ajax call. that should solve the cacheing issue.
jim
jim
2010-06-04 08:44:03