close window question
close window question
- Started
- Last post
- 5 Responses
- andre_k
im using this java script to close a window, how can i get it to close w/o asking the "are you sure you wonna close this window" pop up?
function closeWindow() {
window.close("http://www.ms…...
}thanks!
- ldww0
i have always used
href="javascript:window.close()"
and it never asked, unless it is the only ie window open, then i think it asks.
- andre_k0
weird, im still getting it
- gabriel_pc0
IE will always prompt you if you try to use JavaScript to close any window that wasn't originally opened with JavaScript.
- Nirvous0
Yup
- Buckyball20
javascript:window.self.close()
the one I use on our site for pop up work. no prompt. have a look to see.
http://www.austinkelley.com/JOBS…
bB