Hey Stripers,
Just trying to close a window using jQuery.
This won't work for me: http://pastie.org/4112364
Nor will <a href="JavaScript:window.close()">Close</a>
Lost! Ideas? Cheers. Ears.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hey Stripers,
Just trying to close a window using jQuery.
This won't work for me: http://pastie.org/4112364
Nor will <a href="JavaScript:window.close()">Close</a>
Lost! Ideas? Cheers. Ears.
I think this only works with modal windows
popup_window = window.open("");
popup_window.close ();
Heres a better example http://www.javascript-coder.com/files/window-popup/javascript-window-close-example1.html
This has been solved. Will post resolution when back on work computer tomorrow.