There are many ways to solve this problem. The most direct is to replace the $. get () method with $. ajax (), and then configure cache: false. I don't like $. ajax () is a tedious configuration method, which can be implemented in the ie series in the simplest way below, $. the get () method caches the returned results when the url address is fixed, leading to unexpected problems. But under Firefox, it will not be cached.
There are many ways to solve this problem. The most direct is to replace the $. get () method with $. ajax (), and then configure cache: false. I don't like the tedious configuration method of $. ajax (). You can use the following simple method:
At $. add new random parameters to get () data, such as {data: mydata, stamp: Math. random ()}, because each time the data is different, the data returned after the request is not cached.
You can also change $. get () to $. post () to solve this problem.
The permanent solution is to set global parameters, $. ajaxSetup ({cache: false}); after this setting, basically all get requests, jquery will automatically add the _ 1948838 additional parameter, which is generally similar to the preceding solution.
For example:
$. Get ("ProvinceListByCountryIDHandler. ashx ", {" cid ": $ drpCountry. val (), "time": new Date (). getTime ()}, function (data, returnStatus ){})