下面的web代码为什么不能在Firefox中正确运行? 如何修改兼容Firefox? 谢谢!(回者有分)
<html lang="en">
<head>
<title>Broadcom Home Gateway Reference Design: Apply</title>
<meta http-equiv="Content-Type" content="application/html; charset=utf-8">
<style type="text/css">
body { background: white; color: black; font-family: arial, sans-serif; font-size: 9pt }
.title { font-family: arial, sans-serif; font-size: 13pt; font-weight: bold }
.subtitle { font-family: arial, sans-serif; font-size: 11pt }
.label { color: #306498; font-family: arial, sans-serif; font-size: 7pt }
</style>
</head><body>
<p><span class="title">APPLY</span>
<br><span class="subtitle">
This screen notifies you of any errors that were detected while changing the router's settings.
</span>
<form method="get" action="apply.cgi">
<p>Validating values...done<br>
Committing values...done<br>
<p><input type="button" name="action" value="Continue" OnClick="document.location.href='wan.asp';">
</form>
<script language="javascript">
document.forms[0].action.disabled = true;
var speed = 1000;
var wait = 3;
function updateinfo()
{
if(wait == 0)
{
document.forms[0].action.value = "Continue";
document.forms[0].action.disabled = false;
}
else
{
document.forms[0].action.value = "Continue("+wait+")";
wait--;
window.setTimeout("updateinfo()",speed);
}
}updateinfo();</script><p class="label">©2008-2009 Shenzhen GongJin Electronics Co.,LTD. All rights reserved.</p>
</body>
</html>
<html lang="en">
<head>
<title>Broadcom Home Gateway Reference Design: Apply</title>
<meta http-equiv="Content-Type" content="application/html; charset=utf-8">
<style type="text/css">
body { background: white; color: black; font-family: arial, sans-serif; font-size: 9pt }
.title { font-family: arial, sans-serif; font-size: 13pt; font-weight: bold }
.subtitle { font-family: arial, sans-serif; font-size: 11pt }
.label { color: #306498; font-family: arial, sans-serif; font-size: 7pt }
</style>
</head><body>
<p><span class="title">APPLY</span>
<br><span class="subtitle">
This screen notifies you of any errors that were detected while changing the router's settings.
</span>
<form method="get" action="apply.cgi">
<p>Validating values...done<br>
Committing values...done<br>
<p><input type="button" name="action" value="Continue" OnClick="document.location.href='wan.asp';">
</form>
<script language="javascript">
document.forms[0].action.disabled = true;
var speed = 1000;
var wait = 3;
function updateinfo()
{
if(wait == 0)
{
document.forms[0].action.value = "Continue";
document.forms[0].action.disabled = false;
}
else
{
document.forms[0].action.value = "Continue("+wait+")";
wait--;
window.setTimeout("updateinfo()",speed);
}
}updateinfo();</script><p class="label">©2008-2009 Shenzhen GongJin Electronics Co.,LTD. All rights reserved.</p>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货