부모창 새로고침하고 자식창은 페이지 이동시
본문
아래와같이 자바로 해결을 해버리니 bo_table wr_id 정보가 넘겨지질 않네요;;;
해당자식창에는 bo_table wr_id 정보가 있고 단순업데이트시키는 페이지다보니
읽은다음에 메세지창 띄우고 해당페이지로 이동시키면 됩니다.
<script type="text/javascript">
window.onload = function() {
alert("신청이 완료되었습니다.");
opener.location.reload();
location.href("./sc_order.php?bo_table=$_GET[bo_table]&wr_id=$_GET[wr_id]");
}
</script>
window.onload = function() {
alert("신청이 완료되었습니다.");
opener.location.reload();
location.href("./sc_order.php?bo_table=$_GET[bo_table]&wr_id=$_GET[wr_id]");
}
</script>
답변 1
<script type="text/javascript">
window.onload = function() {
alert("신청이 완료되었습니다.");
opener.location.reload();
location.href("./sc_order.php?bo_table=<?=$_GET[bo_table]?>&wr_id=<?=$_GET[wr_id]?>");
}
</script>
window.onload = function() {
alert("신청이 완료되었습니다.");
opener.location.reload();
location.href("./sc_order.php?bo_table=<?=$_GET[bo_table]?>&wr_id=<?=$_GET[wr_id]?>");
}
</script>
답변을 작성하시기 전에 로그인 해주세요.