Difference between href and reload for refreshing in javascript
2010-11-18 14:12 wildboar 阅读(229) 评论(0) 编辑 收藏 举报#1.Response.Write("<script language=javascript>window.parent.rightFrame.location.reload();</script>");
#2.Response.Write("<script language=javascript>window.parent.rightFrame.location.href = window.parent.rightFrame.location;</script>");
the two ways above are what I used to refresh page in a project, but I found there are some differences between them.
when I used the first way, the page will popup a dialog below.