2

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

Andreas Grech
  • 102,667
  • 98
  • 290
  • 358

1 Answers1

12

You set the location property of the window:

window.location.href = 'http://www.guffa.com/';
Guffa
  • 666,277
  • 106
  • 705
  • 986