Try using opener from the popup to target the parent.
window.opener.jstest.value='blah';
Walter
On Jun 21, 2005, at 9:00 PM, Richard Hale wrote:
Hi,
i'm hoping to get some help with a javascript problem i am
encountering with safari 1.3. the same javascript works fine in
firefox and IE, but i must also support safari users. i'll describe a
test case to demonstrates the problem. the pertinent code is included
below.
test case:
===
basically, a web page contains a link that, when clicked, causes a
popup window to appear. in the popup there is a link that, when
clicked, should cause an input field from a form back in the main page
(parent window) to be filled in with some text.
in the code below, the alert() messages i get in the popup function
changeListing() are:
* '[object Window]' for parent
* 'undefined' for parent.creator
* 'undefined' for parent.paramname
with parent.creator undefined i can't get to the main pages
changeText() function, which would write the text to the form's input
field.
===
if someone could point me in the right direction to solve this problem
i would be very grateful.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden