求大神,IE和火狐下form表单提交方法失效,怎么解决

2025-03-07 02:21:40
推荐回答(2个)
回答1:

搜来的你试试吧火狐不支持window.top.location.href("index.html")。解决方法改成top.window.location='index.html';PS:对于parent,IE可以通过ID和NAME来访问FRAME,而火狐只能用NAME来访问,所以将parent的ID和NAME设为一样的即可以使用“parent.mainFrame.location.href="index.html";”

回答2:

你好建议用360安全卫士电脑清理功能清理,重新安装ROBRORM这样就可以正常。