Answers for "how to reload page in ajax jquery"

1

how to completely reload page in jquery

// reload page from cache:
location.reload();
// reload page from server:
location.reload(true);
Posted by: Guest on September-15-2020
0

refresh ajax jquery

function loadlink(){
    $('#links').load('test.php',function () {
         $(this).unwrap();
    });
}

loadlink(); // This will run on page load
setInterval(function(){
    loadlink() // this will run after every 5 seconds
}, 5000);
Posted by: Guest on April-06-2020

Code answers related to "how to reload page in ajax jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language