How to refresh a page with jQuery

Asked 2 years ago, Updated 2 years ago, 35 views

How do I refresh the page with jQuery?

javascript jquery

2022-09-22 22:05

1 Answers

Write location.reload().

$('#something').click(function() {
    location.reload();
});

Like this.


2022-09-22 22:05

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.