What is the equivalent code for window.location in jQuery?

I am currently using window.location for client side redirection in jQuery. Is there an equivalent syntax for client side redirection?

+2


source to share


4 answers


You can still do this. JQuery is built on JavaScript and DOM.



+9


source


If you are going to use jQuery, you should understand that this is all a library that makes some JavaScript tasks easier . Don't try to use it for every JavaScript task under the sun.



+8


source


window.location

provided by the browser DOM, not jQuery. So if jQuery isn't there, it doesn't matter.

+1


source


window.location works great for IE, Firefox and Chrome.

0


source







All Articles