21293 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 236 Views |
-
Does window.close() work in SilverStripe

19 June 2012 at 4:09pm
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.
-
Re: Does window.close() work in SilverStripe

19 June 2012 at 6:13pm Last edited: 19 June 2012 6:15pm
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
-
Re: Does window.close() work in SilverStripe

19 June 2012 at 6:26pm
This has been solved. Will post resolution when back on work computer tomorrow.
| 236 Views | ||
|
Page:
1
|
Go to Top |


