| | |
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: 514
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 ajaxjspservlets array browser bug calendar captchaformproblem cart checkbox child class close codes createrange() cursor date debugger decimal dependent disablefirebug dom dropdown editor element embed engine enter events explorer ext file firefox focus form forms frameworks getselection google gxt hiddenvalue highlightedword hint html ie7 ie8 iframe images internet java javascript javascripthelp2020 jquery jsf jsfile jsp jump libcurl listbox maps masterpage math media menu object onmouseoutdivproblem onmouseover onreadystatechange parent paypal pdf php position post programming progressbar prototype redirect regex runtime safari scale scriptlets scroll search security shopping size software sql text textarea toggle unicode web windowsxp wysiwyg \n





