View Full Version : close window (also for NS and Mozilla)
CalypsoClub
03-18-2003, 01:08 PM
Hi,
i want to close a window using javascript
window.close();
But this only works in Internet Explorer. Netscape and Mozilla simply do nothing. Do they need some different syntax?
Thanks for help!
Cheers
justame
03-18-2003, 01:18 PM
cal...
/me just a uses® these two n' has just a no® probs in netscrap...
<form><input TYPE="button" VALUE="Close" onClick="self.close()"></form>
orrr...
<a href="javascript:window.close();">Close this window</a>
just a goodluck® n' hoping it helps ya...:O)))
just a ps®...
in the just a second® one???...theres nooo space in javascript 'cept this board just a puts® one there ...
CalypsoClub
03-18-2003, 01:30 PM
strange, but true...
:confused:
It works now with Netscape and Mozilla...:confused:
Maybe my computer is playing tricks on me again :)
justame
03-18-2003, 01:40 PM
cal...
just a great® to read its working...errr closing for ya nowww...hehehe...
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.