Home jquery Refresh page after 1 second using jQuery

Refresh page after 1 second using jQuery

Author

Date

Category

Hello. I need when you click refresh the page one second, how to make it help?

$ ('. Link A'). click (function () {
     location.reload ();
   });

Answer 1, Authority 100%

$ ('. Link A'). click (function () {
   setTimeout (function () {window.loocation.reload ();}, 1000);
});

Answer 2, Authority 40%

read intervals.
SETInterval

setTimeout

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions