Link to home
Start Free TrialLog in
Avatar of tpchai
tpchai

asked on

iframe communication with the parent frame?

If I have a small html form in an iframe, can the outside frame tell whether that form has been submitted?
ASKER CERTIFIED SOLUTION
Avatar of Opalelement
Opalelement

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of b0lsc0tt
tpchai,

When will you check?  If you want to know right when the form is submitted then the expert above's suggestion is best.  If you want to find this out at some other point then you could probably use different code.  For example the outside frame would know the form was submitted when it looks for the page name of the page in the frame or its contents.  If the latter is the case and you want details then please let me know what happens when you submit the page.

Let me know if you have any questions or need more information.

b0lsc0tt
Avatar of tpchai
tpchai

ASKER

Thanks, I just need a button to change in the parent frame, this worked fine.