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

[20210216] opener #41

Open
JuHyun419 opened this issue Feb 16, 2021 · 0 comments
Open

[20210216] opener #41

JuHyun419 opened this issue Feb 16, 2021 · 0 comments

Comments

@JuHyun419
Copy link
Owner

JS popup opener

  • 페이지 새로고침
// 팝업창 자식 페이지 새로고침
document.location.reload();

// 팝업창 부모 페이지 새로고침
opener.location.reload();
  • 자식 페이지에서 부모 페이지 값 가져오기
// 자식 페이지
var data = opener.document.getElementById("#userId").value;

// 부모 페이지
<input type="text" id="userId">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant