AJAX and iFrame: Calling AJAX from inside the iFrame to Update an Outside DIV

Posted by KcYxA on Stack Overflow See other posts from Stack Overflow or by KcYxA
Published on 2010-04-10T20:52:06Z Indexed on 2010/04/10 21:13 UTC
Read the original article Hit count: 582

Filed under:
|
|

Hi there,

I have a page where a user can upload a file along with some other input. Because I wanted this to be AJAX-like, I resorted to using an iFrame to accomplish this.

After the file is uploaded and an iFrame is loaded with a response page, I need to update a DIV outside of the iFrame with an AJAX call. The reason for separate updates, is that the result of the outside DIV depends on the input that the user provided with the file input.

Can this be done? Am I approaching this the wrong way?

Thank you!

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about iframe