title: Disable IE back Button
body: <p>I have a application where i have disabled the back button of IE8 by using the following code.</p>
  
  <pre><code>window.history.forward();
  function noBack() {
  
      window.history.forward();
  }
  </code></pre>
  
  <p>I know this code takes the page back and again moves the page forward. i have called a function onload of the page which makes a textbox read only. i have used the following code to make it read only.</p>
  
  <pre><code>$("#IDofTheTextBox").attr('readonly',true);
  </code></pre>
  
  <p>but if i select the textbox and try to edit by pressing "BackSpace" button, IE back button is getting invoked and the textbox which was readonly is not readonly anymore. Can anyone help me how to solve this issue?</p>