0

How can I make a redirect page in jQuery/JavaScript?

I mean how can one program in client side script to redirect browser from page1 to page n?

  • http://bit.ly/OoBxma -- first link is to stack overflow with 4506 upvotes – dezman Mar 13 '14 at 17:40
  • http://stackoverflow.com/questions/5411538/how-to-redirect-from-an-html-page This answer is even better since it's using HTML and you don't have to worry about the client disabling javascript – ntgCleaner Mar 13 '14 at 17:43
  • Who worries about a client disabling javascript? – mccainz Mar 13 '14 at 17:46
  • @mccainz ,6% people disable javascript –  Mar 13 '14 at 17:51
  • I guess I'm just not in the space where those 6% are a concern. Are there stats on the browser breakout for that 6%? – mccainz Mar 13 '14 at 17:54

1 Answers1

5
window.location="url";

The above should work

Amit Joki
  • 58,320
  • 7
  • 77
  • 95