Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pass information from window 1 to window 2

Status
Not open for further replies.

jamsman

Technical User
Jul 22, 2005
38
DE
ok im not sure if this has been asked before but:

i have a main window that opens a second browser window(fully functional not just a pop up). the proplem: i need to pass some information from the original page to the second browser window??

how is this done

thanks for any ideas
 
How do you open it if it is not a popup?

If it is opened using "window.open", then I would class it as a popup, and you can access it using the handle returned by the window.open method call:

Code:
var winHandle = window.open(args);
winHandle.document.open();
winHandle.document.write('foo');
winHandle.document.close();

Hope this helps,
Dan


[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top