Page de rechargement jQuery
$('#myElement').click(function() {
location.reload();
});
Grepper
$('#myElement').click(function() {
location.reload();
});
// reload page from cache:
location.reload();
// reload page from server:
location.reload(true);
$('#something').click(function() {
location.reload();
});
$(document).ready(function() {
$("button").click(function() {
location.reload(true);
});
});
$(function () {
if (performance.navigation.type == 1) {
yourFunction();
}
});