Hi, "uwb"...

That works great!  Simple and efficient.
Thanks for the code.  Thanks, too for everyone's contributions.
There were others that worked as well.

My ultimate goal is to create an ajax form upload that includes
file fields.  I've got the ajax uploading, processing, and data
returns to the calling page down, but now I'm integrating a
seamless file processing aspect, too, using iFrames for that part.

The part you put together below was the final step of taking
data returned from component method in ColdFusion to the calling
page and displaying it on the calling page.

A method had to be worked out to get the info from the target iFrame
to the calling page, or parent page, of the iFrame.  And this solution
works well.

Now I've got to integrate it into the rest of my code.

Thanks, again!

Rick

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of unwiredbrain
Sent: Wednesday, March 04, 2009 5:01 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: How do I translate this in jQuery?


Rick,

if I got your problem correctly, then I've got a solution for you.

content.html - http://paste2.org/p/158330 wrapper.html - 
http://paste2.org/p/158331

Long story short:
$("#destination-element-id").load($("#iframe-element-id").attr("src"));

The only problem I can think of is that you never specified *where* the iframe 
points to -- same domain or not; if not, I think this solution is pretty 
useless.

Hope this helps
--
unwiredbrain
Linux user #437712

Reply via email to