js代码中history.back()函数在ie中可以正常跳转,但是在firefox中却失效
如何解决呢?
可以尝试下以下几种方法
<<a href="javascript:window.history.back()">返回
或者
<<a href="#" οnclick="window.history.back()">返回
或者可以使用按钮代替
<<input type="button" οnclick="window.history.back()" value="返回" />