views:

802

answers:

1

How do you load a page in the same window via javascript?

+11  A: 

You set the location property of the window:

window.location.href = 'http://www.guffa.com/';
Guffa