The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Redirect the browser using JavaScript

Redirect the browser using JavaScript

2:13
There are two common ways to redirect the browser in JavaScript. Both use `window.location` but they differ in how they interact with Session History (and hence, the browser's back button). In this lesson, you'll learn how they're different and how to use each of them.
Watch this lesson now
Avatar
egghead.io

There are two common ways to redirect the browser in JavaScript. Both use window.location but they differ in how they interact with Session History (and hence, the browser's back button). In this lesson, you'll learn how they're different and how to use each of them.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?