| | |
window.close() problems
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Feb 2008
Posts: 12
Reputation:
Solved Threads: 1
I have got a page which has a link pertaining to a close window function.
The window.close() function works perfectly fine in the case of IE based browsers , however it fails to respond on a Mozilla browser(working on tab panes) . I have tried to make use of self.close(), document.close , but there has been no progress.
I have also tried the following code , but have not been successful
The window.close() function works perfectly fine in the case of IE based browsers , however it fails to respond on a Mozilla browser(working on tab panes) . I have tried to make use of self.close(), document.close , but there has been no progress.
I have also tried the following code , but have not been successful
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
MyWindow = window.open('','_parent',''); MyWindow.close();
web_lock
--------------------------------------------------------------------------------------
God created the world out of atoms, I intend on creating mine out of 1's and 0's
--------------------------------------------------------------------------------------
God created the world out of atoms, I intend on creating mine out of 1's and 0's
•
•
Join Date: May 2005
Posts: 508
Reputation:
Solved Threads: 19
Funny I just posted similar code in another post:
Massage as needed:
Massage as needed:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
//Response.Write("<script>javascript:var w = window.open('clickonce.application','_blank'); w.opener=null; w.open('','_self'); w.close(); window.open('','_self'); window.opener=null; window.close();</script>");
•
•
Join Date: Feb 2008
Posts: 12
Reputation:
Solved Threads: 1
I tried your code , But its not working in Mozilla!
I use Mozilla 2.0.0.12
It works perfectly fine in IE , nut I need it to work in both browsers
I use Mozilla 2.0.0.12
It works perfectly fine in IE , nut I need it to work in both browsers
web_lock
--------------------------------------------------------------------------------------
God created the world out of atoms, I intend on creating mine out of 1's and 0's
--------------------------------------------------------------------------------------
God created the world out of atoms, I intend on creating mine out of 1's and 0's
![]() |
Similar Threads
- Popup window on button click (ASP.NET)
- disable parent window (JavaScript / DHTML / AJAX)
- new window popup (HTML and CSS)
- close event for firefox (JavaScript / DHTML / AJAX)
- dynamic combo load problems (PHP)
- msn,messanger,update,ebay loggin problems,jus blank page (Web Browsers)
- IE problems - about: blank setting self as home page (Viruses, Spyware and other Nasties)
- just loaded window 2003 and problems (Windows NT / 2000 / XP)
- download problems accompanied by web page looping (Web Browsers)
- problems (Web Browsers)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Problem with IE7
- Next Thread: restrict source view
| Thread Tools | Search this Thread |
acid2 ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate automatically beta box browser bug captchaformproblem checkbox close codes createrange() css cursor debugger decimal dependent disablefirebug dom download dropdown editor element engine enter error events explorer ext file firefox form forms frameworks getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe index internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsp jump listbox maps masterpage math media menu microsoft mp4 object onmouseoutdivproblem onreadystatechange paypal pdf php player position problem programming progressbar prototype redirect regex runtime safari scale scriptlets search security select software sql text textarea unicode w3c window windowofwords windowsxp \n





