Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

"javascript:window.close()" script doesnt work in firefox 3.6 and above It works in IE8 and used to work in earlier Firefox

  • 1 답장
  • 308 이 문제를 만남
  • 2 보기
  • 최종 답변자: cor-el

more options

I am using <a href="javascript:window.close()"> to close the window at the completion of an online survey. I works OK in IE and used to work in Firefox. Now the script does not do anything in 3.6 and above . In IE it closes a window through a GUI

I am using <a href="javascript:window.close()"> to close the window at the completion of an online survey. I works OK in IE and used to work in Firefox. Now the script does not do anything in 3.6 and above . In IE it closes a window through a GUI

모든 댓글 (1)

more options

In Firefox you can only close a window that was previously opened via JavaScript

See :

https://developer.mozilla.org/En/DOM/window.close
https://developer.mozilla.org/En/DOM/window.open