title: How to open a hyperlink on the same page with javascript?
body: <p>I am using this to open on a new window:</p>
  
  <pre><code>&lt;div class="backbutton" OnClick="javascript: window.open('http://www.goesback.com')"&gt;Go back&lt;/div&gt;
  </code></pre>
  
  <p>How to amend this if I want onclick to open a hyperlink on the same page?</p>
  
  <p>thanks.</p>