title: how to open an html page using html5
body: <p>I have to call other local html page from the same folder on button click. how do i call it.  given </p>
  
  <pre><code>$("#nextbutton").click(function(){
      //alert('heretest')
      window.location.href = 'main.html';
  });
  </code></pre>
  
  <p>but not working.</p>