Click here to Skip to main content
15,867,568 members
Articles / Programming Languages / Javascript
Alternative
Tip/Trick

Reload page for refresh data without retry/cancel prompt

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
16 Mar 2010CPOL 13.3K   2
window.locatio...
window.location.href = window.location


This appears to refresh the current page without the Retry/Cancel message coming up

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralThanks lot.. Pin
mkumaran482-Jul-11 22:57
mkumaran482-Jul-11 22:57 
GeneralThanks a ton .. this solved my problem Pin
poonam24827-Jun-11 19:14
poonam24827-Jun-11 19:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.