1.

How to redirect to another page using jQuery?

Answer»

You can use window.location="https://www.bestinterviewquestion.com";

You can also use window.location.href = "https://www.bestinterviewquestion.com";

13. What is the difference between SETTIMEOUT() and setInterval() methods?
setTimeout()setInterval()
It runs the CODE with the timeout. This function executes the JavaScript statement "AFTER" interval.It runs the code in fixed time intervals DEPENDING UPON the length of their timeout period.
setTimeout(expression, timeout);setInterval(expression, timeout);


Discussion

No Comment Found