window.opener.forms not working in Firefox.

K

Kien

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
 
R

Randy Webb

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
 
K

Kien

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 said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top