views:

284

answers:

4

I am currently using window.location for client-side redirection in jQuery. Is there any equivalent syntax to do client-side redirection?

+7  A: 

You still can do that. JQuery is built upon JavaScript and the DOM.

Daniel A. White
+1  A: 

window.location is provided by the browser's DOM, not jQuery. So if jQuery is not present, it matters not one bit.

Anthony Mills
+5  A: 

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.

Tim Down
A: 

window.location is working fine for IE, Firefox and Chrome.

tsr