質問の意味をよく理解してないかも知れませんが取りあえず・・・・ test.html として保存 --------------------------------------- <html> <body> <form> <input name="txt1" type="text" /> </form> <iframe src="iframe.html"></iframe> </body> </html> --------------------------------------- iframe.html として保存 --------------------------------------- <html> <head> <script type="text/javascript"> function send_data(){ window.parent.document.forms[0]
![[javascript]*iframeからの値の受け渡し - 現在、メインページに対してiframeをもたせているページがあります。... - Yahoo!知恵袋](https://cdn-ak-scissors.b.st-hatena.com/image/square/1d07bee2b75b182ba712690f3a3464c29972e28b/height=288;version=1;width=512/https%3A%2F%2Fs.yimg.jp%2Fimages%2Fks%2Fclap%2Fimage%2Fogp%2Fogp.png)