Thanks, Jochem.  I found that my problem was that I was placing the content
in double quotes instead of single quotes.  I don't know why this was an
issue, but it was.

Thank you,
 
Matthew Small
Web Developer
American City Business Journals
704-973-1045
[EMAIL PROTECTED]
 

-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 03, 2005 8:04 AM
To: CF-Community
Subject: Re: For Javascript Geniuses - parent windows, iframe, DIV and
innerHTML

Matthew Small wrote:
>
> I have a form on page 1.  A link on page 1 opens a popup which contains a
> page (page 2) that itself contains an iframe (page 3).  A form is filled
> out and submitted on page 2.  When it is submitted, the results of the 
> query are displayed in the iframe.  There are multiple choices on page
> 3.  When one of them is selected, I want the selection to appear on page
> 1.

function SendToParent(id, content) {
  window.opener.getElementById(id).innerHTML = content;
}

Jochem



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:141367
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to