you might call the same page but let it look like it is an other page by changing the querystring:
Edit:
If you already have an existing querystring you have to use
##window.location.href = "index.html" + "?" + Date.parse(new Date());
This works for every browser. You could improve it by extracting the current page out of location.href
.Edit:
If you already have an existing querystring you have to use
&
insead of ?
:window.location.href = "product.aspx?id=prod" + "&" + Date.parse(new Date());
Reference:
http://stackoverflow.com/questions/1536900/force-a-page-refresh-using-javascript-in-firefox
沒有留言:
張貼留言