I am executing this line from a function -having this code only- that is called on onclick event on a link.
document.getElementById("backButton").href="javascript: history.go(-1);"
But this is not working for IE 7. Can anyone help me on this? Here is the other part of code:
<a id="backButton" title="Go Back To Previous Page" href="./inmaking.html"
onclick="goBack();" onmouseover="status=''; return true;"
style="background-color:#CCCC00;" >here</a> to go back to previous page.