关于在父页面监听iframe内部元素变化,然后触发事件的问题
不能修改iframe的页面,只能在父页面中监听
哪位兄弟熟悉的,麻烦告知,谢谢...
例如在11.html页面中怎么写脚本,监听两个“radiobutton”的选择事件
11.html
----------<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<table width="75%" height="70" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> <div style="padding-left:100;padding-top:0">
<iframe src="22.htm" style="width:400;height:100;over-flow:clip" id="frame2" ></iframe>
</div></td>
</tr>
</table>
</body>
</html>
22.html
-------------------------------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<form name="form1" method="post" action="">
<input type="radio" name="radiobutton" value="1">
<input name="radiobutton" type="radio" value="2" checked>
<input type="text" name="textfield">
</form>
</body>
</html>