Answers for "Page Reload detect in jquery"

19

jquery reload page

$('#myElement').click(function() {
    location.reload();
});
Posted by: Guest on July-22-2019
1

refresh a page in jquery

$('#something').click(function() {
    location.reload();
});
Posted by: Guest on February-24-2020
0

Page Reload detect in jquery

$(function () {
    if (performance.navigation.type == 1) {
        yourFunction();
    }
});
Posted by: Guest on September-21-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language