Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Full Refresh of page - Ctrl+F5

I would like to know how to implement a "ctrl+f5" command into my HTML page. I can use javascript or html.

It should be run only when people click in a link.

Thanks, Alex

like image 465
user2521589 Avatar asked Apr 03 '14 14:04

user2521589


1 Answers

You should be able to use this javascript to suite your need:

onClick="window.location.reload(true)"

window.location.reload(true) has been deprecated. You can use:

window.location.href = window.location.href

like image 92
individu Avatar answered Oct 21 '22 01:10

individu