A strange problem is: absconded in the IFRAME page of the individual commits are normal, put into the iframe inside through the JS call on the parent page. The submission is always inexplicably killed.
To confirm that JS is simple and error-free, continue to see the parent's processing logic, there is such a sentence. This.destory ().
Finally, the problem is determined, is open the IFRAME page itself, the window window opened, the results can be submitted to submit execution, directly close the open windows.
As a result, the form is terminated without execution, and all the execution of the IFRAME is game over.
After all, the IFRAME is executed asynchronously and is assumed to be synchronous. Therefore, the author then commits and then kill the parent.
Threads have the same logic.
If you want to do this, you can only wait for the mechanism, or the callback mechanism, the execution after completion of the trigger execution related to other.
Convenient period direct, this.hide (), as long as not destroy the window is OK.
Debugging a form submission problem with an IFRAME embedded in an EXT open Windows window