javascript: history.go(-1) not working in internet explorer 7
<p>I am executing this line from a function -having this code only- that is called on onclick event on a link.</p>

<pre><code>document.getElementById("backButton").href="javascript: history.go(-1);"
</code></pre>

<p>But this is not working for IE 7. Can anyone help me on this? Here is the other part of code:</p>

<pre><code>&lt;a id="backButton" title="Go Back To Previous Page"  href="./inmaking.html" 
    onclick="goBack();" onmouseover="status=''; return true;"
    style="background-color:#CCCC00;" &gt;here&lt;/a&gt; to go back to previous page.
</code></pre>
