Thanks for the ultra fast response, I plugged it in and she works! I'm glad something goes right today, I hope you have a great day!
Main Topics
Browse All TopicsI have a web e-mail page which works in IE 5-6 but it's not compatible with Firefox. The code which gives me an error is:
document.parentWindow.open
What I'm doing is opening the users address book in a popup window and they select the contacts to add and click done. This places those names in the To box of the message. I need some code which is compatible with FireFox to do the same thing.
Lets say we have page called "Compose.asp" and "SelectNames.asp"
In Compose is a form called "SendMsg" it has a form element (type=text) named "To".
In the popup window, I want to pass the value of one of those form elements to the opener page.
I read that document.contentWindow (Mozilla) is the same as document.parentWindow (IE) but this does not work for me.
I tried using:
document.contentWindow.ope
No luck there.
My ASP page can detect if the browser is FireFox or IE so I just need the code to pass variables between windows!
Thank you!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: archrajanPosted on 2005-02-05 at 10:55:51ID: 13234851
document.parentWindow.open er.top.doc ument.Send Msg.To.val ue=documen t.AddressB ook.lstTo. value+docu ment.paren tWindow.op ener.top.d ocument.Se ndMsg.To.v alue;
dMsg.To.va lue = document.AddressBook.lstTo .value+win dow.opener .document. SendMsg.To .value;
shud be
window.opener.document.Sen