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

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

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

html - jQuery UI Sortable - Remove placeholder after item is dropped -