Filter by Tags

How can I redirect to another webpage using Javascript ?

Votes

0

0 0

Using javascript, how can I redirect to another web page ?

Open E-School
Posted on : Fri, Jan 19, 2018
Views : 101
Comments

Ask Question

If you want to ask question you must LogIn or SignUp
Login SignUp

Answers (1)


0

Using javascript there are two ways in which we can redirect to another webpage.

Window.location.replace("http://openeschool.com");

Window.location.href = "http://openeschool.com";

The first method does not let the user come back to the previous page by clicking the browser back button but the second method allows the user to come back to the previous page using the browser back button.

For more details read this article

http://openeschool.com/tutorial/3231/how-to-redirect-to-another-webpage-using-javascript 

 

Ravinder Singh
Fri, Jan 19, 2018
Loading...
Comments

Edit Answer

Submit
This answer will permanently deleted. Do you really want to delete this Answer ?
To Add your Answer Please
LogIn | SignUp

Quick Links

E-Magazines

@

Total Followers
Study Group Created
Study Group Joined
Following Teacher
Following Organization
Blog Articles Added
Questions Asked
Questions Answered
Jobs Posted
Total Members in Group
Questions asked by members
Tasks added in this Group

Please wait..

Ok

Login to Open ESchool OR Create your account    Login   SignUp