By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,459 Members | 1,210 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,459 IT Pros & Developers. It's quick & easy.

window.opener.forms not working in Firefox.

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.