jquery - Is there any way to use JavaScript to do a Ctrl-F5? -


this question has answer here:

is there way can ctrl-f5 type of refresh , reload whole browser window? i've tried following code:

function showrefresh() {     window.location.reload(true);  } 

the page doesn't seem want refresh correctly. if ctrl-f5 on keyboard reloads fine. appreciated.

you well:

function showrefresh(){     window.location = window.location; } 

Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -