js+iframe的问题 <iframe src="test" id="myiframe">myiframe.document.all.文本框名.value 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 iframeid.document.all("elementid").value="newvalue"; example.htm<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title></head><body><iframe id="tt" width="100%" height="100" src="test.htm"></iframe><script language="JavaScript"><!--alert(tt.document.all.ttt.value)//--></script></body></html>test.htm<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title></head><body><table id=main width="200"><input name="ttt" id="ttt" value="22" type="text"></table> </body> </html> 尝试过上面说的方法,出错 iframe 要判断下是否加载完毕:====> onreadyState<iframe name="tt" id="tt" width="100%" height="100" src="test.htm" onreadyState="test()()"></iframe> 关于js日期函数 关于extjs里面的 RowEditor 的简单问题 jsp一个很简单的获取value值的问题 求教Input框中获取的时间与当前时间比较问题! 关于event对象 请帮我看这段代码为何IE7运行出错? 求一日期判断正则表达式? 谁能提供一下象elong得日历控件啊? 关于在网页中控制flash的问题//在现等待 一个favoriate的问题 请问哪里有JAVASCRIPT方法/函数适用于IE什么版本呢? 怎样把这两条语句合成一条,在线等
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<iframe id="tt" width="100%" height="100" src="test.htm"></iframe><script language="JavaScript"><!--
alert(tt.document.all.ttt.value)
//--></script>
</body>
</html>test.htm
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
<table id=main width="200">
<input name="ttt" id="ttt" value="22" type="text">
</table>
</body>
</html> 尝试过上面说的方法,出错
<iframe name="tt" id="tt" width="100%" height="100" src="test.htm" onreadyState="test()()"></iframe>