Can't work history.forward();
<p>I want to prohibit the Back function of the browser.
Therefore I write the following codes in html.</p>

<pre><code>&lt;body&gt; 
&lt;script type="text/javascript"&gt; 
&lt;!-- 
history.forward() 
//--&gt; 
&lt;/script&gt; 
&lt;/body&gt;
</code></pre>

<p>but'The above "history.forward()" did not work suddenly when
 I coding html and some javascripts.</p>

<p>What's wrong?
In addition, please teach the different method that had a similar function. 
Thanking you in advance.</p>
