Reputation: 93
I am currently using window.location for client-side redirection in jQuery. Is there any equivalent syntax to do client-side redirection?
Upvotes: 2
Views: 2030
Reputation: 324717
If you're going to use jQuery, you should appreciate that all it is is a library that makes some JavaScript tasks easier. Don't try and use it for every JavaScript task under the sun.
Upvotes: 8
Reputation: 8784
window.location
is provided by the browser's DOM, not jQuery. So if jQuery is not present, it matters not one bit.
Upvotes: 1
Reputation: 191058
You still can do that. JQuery is built upon JavaScript and the DOM.
Upvotes: 9