jQuery location href
javascript, jquery
Solution
There's no need for jQuery.
window.location.href = 'http://example.com';
Problem
I remember there's a redirect function in jQuery. It was like: ``` $(location).href('http://address.com') ``` But what was it exactly? I couldn't remember and can't find it using Google Search.