It works in Chrome and I thought it used to work in IE8... but it doesn't seem to.
javascript:window.open('', '_self', ''); window.close();alert('test');
All I get is the alert
.
Basically i'm trying to execute a function which works fine in the browser as an a
link, but using the same code in captivates "execute javascript" on a button, doesn't work.
Then I thought I would test it using javascript:
in IE... and it doesn't close it ether.
Whats going on?
It's driving me nuts.
I found that this works
From within the browser address bar