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();
精彩评论