473,396 Members | 1,847 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

window.opener.forms not working in Firefox.

Hello,

Haven't been back to this group for over 3 years...

I know opening a window is an evil thing, but this is convenient for my
site.
The design is like this
-User clicks a link
-up pops a popup with a SAFileUp form
-user uploads the image
-the ASP script stores the image, returns a script on the popup to
update a form in the parent window with:

opener.document.forms[0].Content.value+='\n<img src=fed/images/" & FName
& ">\n'

This works well on IE but not Firefox (the Content box remains empty).
Please help.
Thanks.

Kien
Jun 24 '06 #1
2 4644
Kien said the following on 6/24/2006 2:51 PM:
Hello,

Haven't been back to this group for over 3 years...

I know opening a window is an evil thing, but this is convenient for my
site.
The design is like this
-User clicks a link
-up pops a popup with a SAFileUp form
-user uploads the image
-the ASP script stores the image, returns a script on the popup to
update a form in the parent window with:

opener.document.forms[0].Content.value+='\n<img src=fed/images/" & FName
& ">\n'

This works well on IE but not Firefox (the Content box remains empty).


What does the console have to say?

window.opener

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Temporarily at: http://members.aol.com/_ht_a/hikksnotathome/cljfaq/
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jun 24 '06 #2
Well, Thanks Rnady but that didn't help.
I think it is a problem with Firefox and textarea.
Yes, I read Martin Honnen's bit about textarea and think he's right.
Kien

Randy Webb wrote:
Kien said the following on 6/24/2006 2:51 PM:
Hello,

Haven't been back to this group for over 3 years...

I know opening a window is an evil thing, but this is convenient for
my site.
The design is like this
-User clicks a link
-up pops a popup with a SAFileUp form
-user uploads the image
-the ASP script stores the image, returns a script on the popup to
update a form in the parent window with:

opener.document.forms[0].Content.value+='\n<img src=fed/images/" &
FName & ">\n'

This works well on IE but not Firefox (the Content box remains empty).

What does the console have to say?

window.opener

Jun 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: fogwolf | last post by:
First a basic outline of what I am trying to do: I want to have a page spawn a pop-up when you click "submit" on its form. On this pop-up page there will be another form. When you click "submit"...
2
by: Stefan Sch?rmeli | last post by:
I already read about several problems using firefox and the window.opener property. But obviously it didn't help out. So here is my problem: I got a "Search..." link which opens a new window...
2
by: Bostonasian | last post by:
I am trying to append options to dropdown in parent window from option items in child window. In parent window, I have following code: <script language="javascript"> function...
2
by: RWC | last post by:
Hello, I am new to JavaScript but until now, have felt my way along fairly successfully. I have a page showing an image to the user. I use window.open to open a separate page, listing a bunch...
1
by: humbads | last post by:
I am trying to get a popup window to work for editing notes in my application. Here's how I implemented it: The original frame is called ORIGINALFRAME and contains a link like this: <a...
2
by: voodoolv | last post by:
So.. I have a javascript that makes a popup with a javscript function in it. The function in the popup after 5 seconds tries to change the "price" field value in the opener window: sourze=...
3
by: Soren Schimkat | last post by:
Hi This works fine and adds a new element to the list: document.forms.elements.options = new Option('foo', 'bar'); ... but using the following code in a popup window - IE crashes or...
4
by: badaczewski | last post by:
The following javascript appears on a popup window. <script language="javascript" type="text/javascript"> function InsertContact(value) { window.opener.CallBackContact(value); window.close();...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.