look up the "window.opener" method (works in NS3+, IE3+)

Basically, you can send info to a form field on the opener page (if you name each 
piece accordingly) like this:

opener.document.form.formfield.value = this.value;

HTH,
IGOR  ILYINSKY
CREDIT|FIRST
SUISSE|BOSTON
GLOBAL WEB SERVICES

-----Original Message-----
From: Ben Doom [mailto:bdoom@;moonbow.com]
Sent: Thursday, November 07, 2002 10:11 AM
To: CF-Talk
Subject: OT: Javascript across windows


Does anyone know how to pass information between browser windows using
Javascript (or anything else for that matter).

Specifically, I'm using javascript to open a second browser window for a
user to fill out a small form which needs to return the results to the
creating browser window.  The second browser window needs (unless someone
has a better idea) to either be able to trigger a function or access form
elements in the DOM to write the information.

I'd happily post code if people want to see it, but since it doesn't seem to
work at all, I didn't think it necessary. :-)

All help is appreciated.



  --Ben Doom
    Programmer & General Lackey
    Moonbow Software


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to