팝업창에서 사용하는 스크립트는 다음과 같이 사용될 수 있습니다. ie에서는 잘 동작합니다만, 기타 브라우저에서는 그림의 떡입니다.
function apply(zip, addr) {
  parent.opener.registForm.user_zipcode.value = zip;
  parent.opener.registForm.user_address1.value = addr;
  self.close();
}


다음과 같이 수정된다면 다른 브라우저에서도 사용할 수 있습니다.
function apply(zip, addr) {
  opener.document.registForm.user_zipcode.value = zip;
  opener.document.registForm.user_address1.value = addr;
  self.close();
}

관련 : http://okjsp.tistory.com/tag/onlyie

+ Recent posts