Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modal 질문 입니다. #988

Open
YeonHoLee opened this issue Feb 14, 2017 · 2 comments
Open

Modal 질문 입니다. #988

YeonHoLee opened this issue Feb 14, 2017 · 2 comments

Comments

@YeonHoLee
Copy link

index.jsp(부모창)에서 login.jsp(자식창)를 모달을 띄우고 login.jsp에서 로그인 확인 후에
parent.myModal.close();를 실행하면 모달 창을 잘 닫힙니다.
parent.myModal.close 실행 전에 index.jsp를 리로딩을 하고 싶은데 어떡게 가능한지
궁금 합니다..

@thomasJang
Copy link
Owner

parent.location.reload();
하면 모달이 알아서 닫히게 됩니다.
모달은 부모페이지의 페이지의 레이어이기 때문입니다.

@YeonHoLee
Copy link
Author

감사합니다~!!!
해결 되었습니다~!!
parent.location.reload(); 를 몰라서...
location.href="../index.jsp" 랑
window.document.location.reload(true);가지고
삽질만 했어요..ㅠ_ㅠ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants