Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
After the recent work encountered a problem that every time you open the page to make changes and modify the operation is successful, if you open the page again, the data on the page did not change.
The reason : Because each url of the page to open are the same, the browser will think that you have currently open in the same page, would have been the first to show the data.
Solution : Let the browser thinks you are going to open a new page like that every time or else the same url. We can add a change to the url parameter, such as a random number or date.
Such as:
window.open('test.aspx?time='+new Date());