0

I believe I have a similar problem to this person:

JavaScript: Detect form submission completion

I have a form in an iframe. When the form completes an http post, i want to capture the returning data and do something with it. Is there an event handler to detect when a form in an iframe completes an http post?

2
  • Can you show us any part of your use case? There are a few potential issues with cross domain iframe stuff (not sure if this is cross domain) Commented Sep 20, 2012 at 19:42
  • I'm working in the same domain. So far diodeus solution works on all my browsers Commented Sep 20, 2012 at 20:01

1 Answer 1

2

If a new page is being loaded (a non-AJAX submit) you can hook into the Iframe's onload event for this purpose.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.