Ajax asynchronous requests are used in onmouseover during project debugging,
The first time the page is loaded, the mouse moves to a link and the onmouseover is triggered successfully.
When the mouse moves to another link to trigger onmouseover, the original connection is displayed.
It's strange that the Internet Explorer caches the information at last,
Because the first request was made, the request is still the same URL.
The asynchronous page is not triggered because the page is cached.
Solution:
Add a random number to the parameters in the URL so that the URLs of the pages in each request are different,
This avoids ie caching.
Url = URL + "& num =" + math. Round (math. Random () * 10000 );
Ajax is good, but sometimes it seems that, in order to consider PV and user experience, you have to sacrifice some resources.
Here we are PV> experience, alas ......
I don't know if the page for Ajax asynchronous requests is on the webmaster. Does Alexa calculate PV ....
If any hero knows this, I will not be able to give you some advice. I would like to thank... O (∩ _ ∩) o...