質問するログイン新規登録

質問編集履歴

1

呼出元、呼び出し先の構文を追記致しました。

2020/06/18 08:32

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -6,4 +6,16 @@
6
6
  returnValueで取得する値が取引先情報や従業員情報で配列として帰ってくるため
7
7
  親ウインドウでも配列のまま取得したいと考えています。
8
8
 
9
- returnValueに近い方法があればご教示お願い致します。
9
+ returnValueに近い方法があればご教示お願い致します。
10
+
11
+ 追記
12
+ 親ウインドウ
13
+ result = window.showModalDialog(url, "", "status:no;center:yes;dialogWidth:685px;dialogHeight:575px");
14
+
15
+ 子ウインドウ
16
+ var ary = new Array(3);
17
+ ary[0] = document.getElementById("code" + selectIdx).value;
18
+ ary[1] = document.getElementById("NameA" + selectIdx).value;
19
+ ary[2] = document.getElementById("NameB" + selectIdx).value;
20
+ window.returnValue = customerArray;
21
+ window.close();