Answers for "refresh page via jquery"

19

jquery reload page

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

refresh div jquery

$("#mydiv").load(location.href + " #mydiv");

//this is actualy not so nice but it does the job.
Posted by: Guest on March-24-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language