ポップアップ ウィンドウから親フォームの値を設定しようとしていますwindow.opener
。ただし、window.opener
実行時は未定義です。
メインウィンドウ:
showmodaldialog("popup.aspx", null, window styles with width and height);
現れる:
window.opener.document.getElementById("#hidvalue").value = "hello";
ポップアップ ウィンドウから親フォームの値を設定しようとしていますwindow.opener
。ただし、window.opener
実行時は未定義です。
メインウィンドウ:
showmodaldialog("popup.aspx", null, window styles with width and height);
現れる:
window.opener.document.getElementById("#hidvalue").value = "hello";