I am using \"page widget\" to implement a dialog in jquery mobile with data-dialog=\"true\", everything is fine, i can also back to the previous page with the b
data-dialog=\"true\"
Dialog widget is deprecated as of 1.4, hence, .dialog("close") is no longer a valid function.
.dialog("close")
To go back to previous page:
jQuery Mobile
$.mobile.back();
JavaScript
window.history(-1)