Problem:

When doing AJAX call, IE will cache every AJAX call. Hence, url such as ‘/post.do’ will return the same thing and actually the AJAX request will not be sent after the first time.

Solution:

put AJAX url ‘/post.do’ with a time stamp as following:

jQuery.get('/post.do?ts='+(new Date()).getTime());
Tagged with:
 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>