JQuery Mobile popup with history=false autocloses
问题 I'm trying to show a popup but the popup disappears automatically, without the history=false the popup stays visible but then on closing the popup the browser back action is triggered <div data-role="page" id="indexpage"> <div data-role="popup" data-history="false" id="appPopup">test popup</div> <script> $("#indexpage").on("pageshow", function () { $("#appPopup").popup("open"); }); </script> </div> Check what happens here: http://jsfiddle.net/francisdb/ThtfZ/ Any idea on how to fix this? 回答1: