SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: close window wont close in FF
-
Apr 8, 2007, 10:16 #1
- Join Date
- Jan 2005
- Location
- uk colchester
- Posts
- 177
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
close window wont close in FF
I am useing the following code
<form>
<input type="button" value="Close Window" onClick="window.close()">
</form>
This works ok in the IE6 but not in FF, javascript is the language a know nothing about so can anyone helkp me with how to get this to work with FF.
Cheers
-
Apr 8, 2007, 11:04 #2
- Join Date
- Jan 2005
- Location
- uk colchester
- Posts
- 177
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Have sorted my problem, not sure why but when previewed in the browser from the F12 in dreamweaver the button wont work in FF, however when viewed from straight from the browser all works fine.
-
Apr 8, 2007, 11:59 #3
- Join Date
- Jan 2005
- Location
- Too far up north
- Posts
- 1,566
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Check the JavaScript console. It should have outputted a warning when it didn't close the window.
Bookmarks