Jay wrote:
Is it possible to mimic the Ctrl. + Refresh functionality with a button
in a webpage using javascript, ideally by placing a button(or link) on
a page that when clicked would have the same effect as holding down the
Ctrl.
1) There is not "Ctrl + Refresh" functionality. There is "reload
current page" command you can execute under Internet Explorer by using
shortcuts Ctrl+R or F5
2) Despite Ctrl+R shortcut is common to many other browsers (including
Firefox), on a long run never assume that everyone everywhere is using
the same browser that you are using. When applying to browser-specific
analogies always specify what UA are you referring to. Best of all is
avoiding any analogies all together and explaining the desired behavior
directly.
3)
<button type="button" onclick="
window.location.href = window.location.href;
">Refresh</button>