Answers for "refresh page with jquery ajax"

19

jQuery refresh 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
1

jquery ajax refresh

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 December-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language