abbas
09-09-2006, 06:46 AM
Hello,
I wish to close an IE browser as well as a Firefox browser (if visitors are using that instead of IE) using on the onclick funtion.
I've searched and found the usual scrips like,
<a href="javascript:window.close()">close</a>
<input type="button" value="close" onclick="javascript:self.close();">
<input type="submit" value="close" onClick="window.close()">
These all work in IE but not Firefox. My javascript is enabled in Firefox so is it my version of Firefox that is faulty or have I missed something.
Thanks
Abbas
I wish to close an IE browser as well as a Firefox browser (if visitors are using that instead of IE) using on the onclick funtion.
I've searched and found the usual scrips like,
<a href="javascript:window.close()">close</a>
<input type="button" value="close" onclick="javascript:self.close();">
<input type="submit" value="close" onClick="window.close()">
These all work in IE but not Firefox. My javascript is enabled in Firefox so is it my version of Firefox that is faulty or have I missed something.
Thanks
Abbas