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

JS document.domain 역할 #86

Open
kyupid opened this issue Jan 26, 2022 · 0 comments
Open

JS document.domain 역할 #86

kyupid opened this issue Jan 26, 2022 · 0 comments
Assignees
Labels
학습 Extra attention is needed

Comments

@kyupid
Copy link
Owner

kyupid commented Jan 26, 2022

https://insusu.tistory.com/entry/documentdomain%EC%9D%B4-%ED%95%98%EB%8A%94-%EC%97%AD%ED%95%A0%EC%9D%B4-%EB%AD%94%EA%B0%80%EC%9A%94

예를들어 본창에서 새창을 띄우고
새창에서 본창으로 데이터를 넘길 필요가 있을 때 사용

<script>
  document.domain = '나의서버.com';
  $(function() {
  
    $('".$target_frm."', opener.document).find(\"input[name='user_cert_flag']\").val('1');
  }
</script>
@kyupid kyupid added the 학습 Extra attention is needed label Jan 26, 2022
@kyupid kyupid self-assigned this Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
학습 Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant