I will only have a relative link available to me but I want to use jQuery to navigate to this rel link. I only see AJAX functionality in jQuery. How can I do this using jQuery or just pure HTML/JavaScript?
This question is related to
javascript
jquery
window.location.href = "/somewhere/else";
window.location = myUrl;
Anyway, this is not jQuery: it's plain javascript
Source: Stackoverflow.com