SyntaxFix
Write A Post
Hire A Developer
Questions
There's no need of jQuery.
window.location.href = 'http://example.com';