表格不在FireFox上终止 [英] Form not terminating on FireFox
问题描述
我有一些代码,我似乎无法在FireFox上正常工作。它可能很简单。
在FireFox上,以下代码似乎不会在浏览器中终止,但是
它在IE上工作正常: -
http: //angray.members.beeb.net/Test/Test5.html
提前致谢,
Aaron
Hi,
I have some code I just cannot seem to get to work properly on FireFox. It
is probably something simple.
On FireFox the following code does not seem to terminate in the browser, but
it works fine on IE :-
http://angray.members.beeb.net/Test/Test5.html
Thanks in advance,
Aaron
推荐答案
Aaron Gray写道:
Aaron Gray wrote:
http://angray.members.beeb.net/Test/Test5.htm
< http://validator.w3.org/check?uri = http%3A%2F%2Fangray.members.beeb.net%2FT est%2FTest5.html& ss = 1; verbose = 1> ;
HTH
PointedEars
<http://validator.w3.org/check?uri=http%3A%2F%2Fangray.members.beeb.net%2FT est%2FTest5.html&ss=1;verbose=1>
HTH
PointedEars
>我有一些代码,我似乎无法在FireFox上正常工作。它
> I have some code I just cannot seem to get to work properly on FireFox. It
可能很简单。
在FireFox上,以下代码似乎没有在浏览器中终止,
但它在IE上工作正常: -
http://angray.members.beeb。 net / Test / Test5.html
抱歉,JavaScripts停止了IE的工作。可以在FireFox上使用,但是FireFox还没有终止。$ / b
Aaron
Sorry the JavaScripts stopped working on IE. Works on FireFox but FireFox is
not terminating still.
Aaron
Aaron Gray写道:
Aaron Gray wrote:
抱歉,JavaScripts停止了IE的工作。适用于FireFox,但FireFox还没有终止。
Sorry the JavaScripts stopped working on IE. Works on FireFox but FireFox is
not terminating still.
您的代码包含HTML和JavaScript错误的集合:-(
像往常一样,IE是市场上最耐用的浏览器:-)
这是更合适的版本。 A不能对每个变化法师发表评论,
尝试猜测你的十二个,只询问是否有办法。
< html>
< head>
< title>框架测试< / title>
< script type =" text / javascript">
函数go()
{
var doc = self.frames [''output'']。document;
doc.open (" text / html");
doc.writeln("< font face =''Arial''>");
doc.writeln (测试);
document.forms [''result'']。elements [''txt01'']。value = 10;
doc.writeln ("< / font>");
doc.close();
}
< / script>
< / head>
< body onload =" go()">
< ; h2>帧测试< / h2>< br>
< br>
< iframe name =" output"宽度= QUOT; 100%QUOT; height =" 50%">< / iframe>
< br>
< FORM name ="结果">
< label for =" txt01">结果:< / label>
< input type =" text"命名= QUOT; txt01" value ="">
< / FORM>
< / body>
< / html> ;
Your code contains a conglomerate of HTML and JavaScript error :-(
As usual IE is the most durt tolerant browser on the market :-)
Here is the more proper version. A cannot comment on each change mage,
try to guess yourselve, ask only if no way.
<html>
<head>
<title>Frame test</title>
<script type="text/javascript">
function go()
{
var doc = self.frames[''output''].document;
doc.open("text/html");
doc.writeln("<font face=''Arial''>");
doc.writeln("Test");
document.forms[''result''].elements[''txt01''].value = 10;
doc.writeln("</font>");
doc.close();
}
</script>
</head>
<body onload="go()">
<h2>Frame test</h2><br>
<br>
<iframe name="output" width="100%" height="50%"></iframe>
<br>
<FORM name="result">
<label for="txt01">Result:</label>
<input type="text" name="txt01" value="">
</FORM>
</body>
</html>
这篇关于表格不在FireFox上终止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!