フォーム内容の更新

<!-- window.opener -->
<form id="ArticleForm">
 <input value="0" name="reload" type="HIDDEN">
</form>

<!-- popup window -->
window.onload = function() {
 if(window.opener) {
  window.opener.document.ArticleForm.reload.value = "1";
  window.opener.document.ArticleForm.submit();
 }
}

Leave a Reply