history.go(-1) going back doesnt work in Chrome
<p><code>href="#" onclick="closeOrCancel()</code> and <code>history.go(-1)</code> in that js method doesnt work in Chrome (neither <code>history.back()</code>)</p>

<p>It works with <code>href="javascript:closeOrCancel()"</code> , but Opera doesn't allow <code>href="javascript:...</code></p>

<p>How to make history go back using onclick= "myFunction()" ?</p>

<p>Edit: <code>closeOrCancel()</code> returns false</p>
