...

View Full Version : passing data to and fro between windows



percepts
08-29-2007, 08:27 AM
I'm not sure how to go about doing this.

I would like to open a child window/popup and do some stuff in it and when finshed pass some some data back to the parent window.

I read in a search here that I could do something like:

opener.document.form_name.field_name.value="what ever"

or

opener.function_name()

but what is opener? Is it an object or window name. i.e. what do I need to do to create "opener" and am I thinking on the right lines to do this.

Any help would be much appreciated. Thanks.

Philip M
08-29-2007, 09:32 AM
Google is your friend! Have a look at e.g.:-

http://www.webreference.com/js/tutorial1/opener.html

http://www.javascriptkit.com/javatutors/send1.shtml

percepts
08-29-2007, 10:32 AM
Thanks,
That first link is exactly what I was looking for.:) :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum