iframe框架代码:

	</head>
		<frameset rows="*,30" frameborder="no" border="0" framespacing="0">
		     <frameset rows="*" cols="155,*" >
			        <frameset rows="*" cols="155,*" >
				      <frame src="${ctx}/backcontrol/weekly/weekly!left.action" name="leftFrame" noresize="noresize" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" >
			        </frameset>
				    <frameset rows="*" cols="345,*" >
					   <frame src="${ctx}/backcontrol/weekly/weekly!right.action" name="rightFrame" >
					   <frame src="${ctx}/backcontrol/weekly/weekly!right_main.action" name="right_mainFrame" >
				    </frameset>
	        </frameset>
	        <frame src="${ctx}/backcontrol/weekly/weekly!bottom.action" noresize="noresize" frameborder="0" name="bottomFrame" marginwidth="0" marginheight="0" scrolling="no">
	<noframes>
		<body>
		 <input type="text" name="kkk"   ></input>
		</body>
	</noframes>
	</frameset>

javascritp代码

1 $(parent.window.frames["right_mainFrame"].document.body).html()

输出效果:

jquery获取父窗口iframe的body值

相关文章: