How do you make a page redirect using JavaScript?

Learn how to redirect from one page to another in JavaScript using the window.location object.

By Craig Buckler
October 10, 2016
Screenshot from "How do you make a page redirect using JavaScript?" Screenshot from "How do you make a page redirect using JavaScript?"

Sometimes events in your web application require that one page redirect to another. In this video Craig Buckler will teach novice JavaScript developers how to use the window.location object and redirect within Node.js web applications.

Grow your JavaScript skills further with O’Reilly Learning Paths.

Learn faster. Dig deeper. See farther.

Join the O'Reilly online learning platform. Get a free trial today and find answers on the fly, or master something new and useful.

Learn more

Craig Buckler is an experienced Web Developer working in the UK who started his career creating desktop software. Craig has worked for a number of well-known companies, including Microsoft, MSN, and Thomson Reuters, as well as the UK & EU governments. Craig is the prolific author of countless articles and tutorials on HTML5, CSS3, JavaScript, JQuery, PHP, and Node.js.

Post topics: Web Programming
Post tags: Questions
Share: