Chrome 브라우저에서 window.쇼모달 관련 메소드가 삭제 되었습니다.
- 작성자
- 관리자
- 작성일자
- 2014-09-04
- 조회수
- 3,762
Q Chrome 브라우저에서 window.쇼모달 관련 메소드가 삭제 되었습니다.
A
안녕하세요. 표준프레임워크센터입니다.
Chrome 브라우저에서 쇼모달관련 메소드가 삭제되어, window.open 메소드로 대처하시면 됩니다.
예제)
자식창
try {
window.opener.document.mberManageVO.mberId.value = document.checkForm.resultId.value;
window.close();
} catch(err) {
alert(err + "\n일반회원 가입신청 창이 변경되었습니다.\n확인해 주시기 바랍니다.");
}
부모창
var openParam = "width=450px,height=200px,scrollbars=no,resizable=yes,location=no,status=no,menubar=no";
retVal = window.open(url, varParam, openParam);
document.mberManageVO.mberId.value = newWindow.document.mberManageVO.mberId.value;
고맙습니다.
Chrome 브라우저에서 쇼모달관련 메소드가 삭제되어, window.open 메소드로 대처하시면 됩니다.
예제)
자식창
try {
window.opener.document.mberManageVO.mberId.value = document.checkForm.resultId.value;
window.close();
} catch(err) {
alert(err + "\n일반회원 가입신청 창이 변경되었습니다.\n확인해 주시기 바랍니다.");
}
부모창
var openParam = "width=450px,height=200px,scrollbars=no,resizable=yes,location=no,status=no,menubar=no";
retVal = window.open(url, varParam, openParam);
document.mberManageVO.mberId.value = newWindow.document.mberManageVO.mberId.value;
고맙습니다.