X
Tap here to go to the mobile version of the site.

Support Forum

Can't write anything with javascript in a new window create dynamically with "window.open"

Posted

I develop a website and an application in html/css/javascript and i have a problem. I need to open a new window with "window.open", and then change and modify the content dynamically with javascript in it. It works perfectly in Firefox 3.6 and lower but not in Firefox 4. In Firefox 4, the window is created, but it stay white with "about blank" as name. Do you have an idea of what I can do? Can I detect if the browser is Firefox 4, and if it is true, instead of "window.open", create a new tab? Can I change the content dynamically in it, and how?

Thanks for your help Jonathan Donzallaz

I develop a website and an application in html/css/javascript and i have a problem. I need to open a new window with "window.open", and then change and modify the content dynamically with javascript in it. It works perfectly in Firefox 3.6 and lower but not in Firefox 4. In Firefox 4, the window is created, but it stay white with "about blank" as name. Do you have an idea of what I can do? Can I detect if the browser is Firefox 4, and if it is true, instead of "window.open", create a new tab? Can I change the content dynamically in it, and how? Thanks for your help Jonathan Donzallaz

Additional System Details

Sites Affected

http://

Installed Plug-ins

  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Adobe PDF Plug-In For Firefox and Netscape "9.4.3"
  • Winamp Application Detector
  • Default Plug-in
  • Google Update
  • Shockwave Flash 10.2 r153
  • iTunes Detector Plug-in
  • Picasa plugin
  • Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
  • 4.0.60310.0
  • Office Authorization plug-in for NPAPI browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • NPWLPG

Application

  • User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17

More Information

jscher2000
  • Top 10 Contributor
8838 solutions 72240 answers

This forum focuses on end-user support. You can find more web development help on the mozillaZine Web Development board. Separate forum, separate registration. Please note the tips in the Sticky Post at the top of the forum before posting. Also, it's helpful to post a link to a "test case" that demonstrates the problem.

This forum focuses on end-user support. You can find more web development help on the [http://forums.mozillazine.org/viewforum.php?f=25 mozillaZine Web Development board]. Separate forum, separate registration. Please note the tips in the Sticky Post at the top of the forum before posting. Also, it's helpful to post a link to a "test case" that demonstrates the problem.