May 12th, 2011, 9:48 AM
Hi 2x4,
Sorry for never getting to this! Interesting one... with POST forms it's easy: just add the target="_parent" to the form that posts to your success page. But with the API, you're already operating within the iframe and the request has already been made.
I don't know! I'm actually not sure it's possible! One option would be to output nothing but some JS which calls a function in the parent page to show the success message. Or, you could go with what you have. But I can't think of a non-JS solution.
- Ben
Sorry for never getting to this! Interesting one... with POST forms it's easy: just add the target="_parent" to the form that posts to your success page. But with the API, you're already operating within the iframe and the request has already been made.
I don't know! I'm actually not sure it's possible! One option would be to output nothing but some JS which calls a function in the parent page to show the success message. Or, you could go with what you have. But I can't think of a non-JS solution.
- Ben