你在嵌入的框架的包含页里写些东西就可以了.当然你要手写也是可以的:
<iframe name=iframe1></iframe><br>
<input type=button value=ok onclick="document.iframe1.document.write('梅花雨')">
<iframe name=iframe1></iframe><br>
<input type=button value=ok onclick="document.iframe1.document.write('梅花雨')">
<iframe name=iframe2 src="a.htm"></iframe><br>a.htm:
怎么写?