title: Redirecting to a different page when clicking in the back button "not working"
body: <p>I have a form that  once it's submitted it' takes the user to a "Thanks page"  the idea   is that if the user clicks in the back button, instead of going back to the form it takes the user to  a different page.  I'm using <code>src="backfix.min.js"</code> which is properly in a .js file. Is alerting the message  but for some reason it's not taking the user to the page i want to. </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Thank You!&lt;/title&gt;
  
  &lt;script type="text/javascript" src="backfix.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;// &lt;![CDATA[
  bajb_backdetect.OnBack = function()
  {    
  alert("Will take you back to the main page");
  document.location.href = 'http://goggle.com'; 
  };
  &lt;/script&gt;  
  &lt;/head&gt;
  
  &lt;body  style="background-color: white" &gt;
  &lt;div align="center" &gt;           
  &lt;img  alt="thanyou" src="Images/thank_you[2].png" width="800" height="600"&gt; 
  &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>