How to embed and iframe with form in a jQueryMobile popup.
I noticed there is an issue with closing popup once form in iframe is submitted.
The issue is because jQueryMobile is depending on ‘window.history.back();’ for closing popups if $.mobile.ajaxEnabled is true.

Below sample is a solution for that.

jqm_popup_iframe_form.html

jqm_popup_form.html

A Demo can be seen here