- 追加された行はこの色です。
- 削除された行はこの色です。
*子ウインドのデータを取得2 [#udc18dd3]
RIGHT:更新日 &lastmod();
** 子ウインドで入力した値の取得サンプル [#sab4a22f]
window.showModalDialogを使用するときはGoogle Map APIが子ウインドとして利用するときヘッダーの関係で子ウインドでMAPが表示しないのでwindow.openを使用する方法を示す
''親ウインド''
<body>
データ <BR>
緯度:<INPUT TYPE="TEXT" SIZE="40" id="lat" name="map_latitude"><br>
経度:<INPUT TYPE="TEXT" SIZE="40" id="lng" name="map_longitude"><br>
<script type="text/JavaScript">
<!--
function winOpen(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<!--ボタン表示 -->
<INPUT TYPE="button" VALUE="入力" ONCLICK="winOpen ('input3.php','newWindow','scrollbars=yes width=850,height=750' )">
<BR>
<!--リンク表示 -->
<p><a href="#" onclick="winOpen('input3.php','newWindow','scrollbars=yes width=800,height=480' )">新しいウインドウを開く!</a></p>