一般我们的页面跳转都使用,window.location.reload()。
但在firefox,opera这样不行,替代使用window.location.href="";就可以了
另外用 <meta http-equiv="refresh" content="0;url=all_topic.action">也可以
<html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <meta http-equiv="refresh" content="0;url=all_topic.action"> </head> <body οnlοad="window.location.href='all_topic.action';"> </body> </html> |