js如何对iframe进行操作? 1.<select name="select" onchange="Composition.src=this.value">2.<form onsubmit="Composition.document.form1.submit();"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1.<select name="select" onchange="Composition.src=this.value">2.<input type="submit" name="Submit" value="提交" onclick="document.frames['Composition'].document.all.Submit.click();"> 不对呀主页面<html><head><title>无标题文档</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body bgcolor="#FFFFFF" text="#000000"><form name="Form1" id="Form1" onsubmit="Composition.document.form1.submit();" method="post"><p> <select name="select" onchange="Composition.src=this.value"> <option value="2.htm" selected>a</option> <option value="1.htm">b</option> </select></p><tr><th></th><td><iframe class="Composition" ID="Composition" style="width:400px;height:200px" src="1.htm"></iframe></td></tr><input type="submit" name="Submit" value="提交"></form></body></html>iframe页<html><head><title>无标题文档</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body bgcolor="#FFFFFF" text="#000000"><form name="form1" method="post" action="2.htm"> <input type="submit" name="Submit" value="提交"></form></body></html> js实现文字从右往左滚动 ie下confirm 点击取消,依然提交订单,有什么解决的办法吗 javascript里有没有退出函数? 页面传值问题? 急问:如何用javascript 实现 根据select 的某个option值选择动态显示某些其他内容? 求兼容IE的方法。试了半天,实在出不来。 产生的随机数不在指定范围内 有没有美化js代码的工具呢? 请教一个javascript检测email格式的代码 请问javascript里有类似的函数么? 急问,关于insertAdjacentHTML 求教1个用来判断周末的函数,谢谢大家指点下,急!
2.<input type="submit" name="Submit" value="提交" onclick="document.frames['Composition'].document.all.Submit.click();">
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#FFFFFF" text="#000000">
<form name="Form1" id="Form1" onsubmit="Composition.document.form1.submit();" method="post">
<p>
<select name="select" onchange="Composition.src=this.value">
<option value="2.htm" selected>a</option>
<option value="1.htm">b</option>
</select>
</p>
<tr>
<th></th>
<td>
<iframe class="Composition" ID="Composition" style="width:400px;height:200px" src="1.htm"></iframe>
</td>
</tr>
<input type="submit" name="Submit" value="提交">
</form>
</body>
</html>iframe页
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="2.htm">
<input type="submit" name="Submit" value="提交">
</form>
</body>
</html>