Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
I have been history.back () after the original page automatically refresh the problem, such as the record in a form to delete operations, submitted after writing a sentence:
Response.Write "<script>alert (' delete success! '); History.back () </Script> "
Then return to find the original record is also displayed on the page, but the database has been deleted, that is, I need to return the page can automatically refresh to achieve the effect of synchronization with the database.
Exhausted all methods, the problem is still, although you can use the 3rd party page to do a jump, but also did not have the effect of Java pop-up window, ah ~ knowledge of not home (in fact, I am to Java and this is a layman). Today I stumbled on the internet and found a solution, quack, very simple. Just add the location.reload () problem to the back. The code is as follows:
Response.Write "<script>alert (' delete success! '); History.back () location.reload ();</script> "
This article originates from Shuro's Blog (http://www.shuro.cn), reproduced please indicate the source, thank you!