Monday, April 21, 2008

Navigating to other pages using JavaScript

There are many different ways of transferring user from one page to another page without opening up a new page which don't necessarily work either IE or Firefox. The following way works with both IE and Firefox.

Simply assign the new URI to href property of location.

document.location.href="http://www.mycomputerknowhow.blogspot.com";

No comments: