开发者

Reload page without the message box showing

Does anyont know how to reload an aspx page through javascript开发者_如何学JAVA without the message box popping up asking if you want to refresh the page?


Three different ways:

window.location.reload()

history.go(0)

window.location.href=window.location.href


I've just been using (javascript) window.location.reload(), but given your tags (asp.net and c#2.0), I get the feeling that's not the answer you're looking for.


I just found the answer I was looking for, document.forms[0].submit();

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜