According to this github: https://github.com/jquery/jquery-mobile/issues/4565
this issue is reportedly resolved yet I have tried to place a popup outside the div of the page a popup button is using latest jqm 1.4.5 and was unable to get the popup to work unless its popup is within the same div as the page it is on. In short this example code below has to be defined on the current page for the popup to work (just as the initial dilemma the github above is presenting).
<div data-role="popup" id="popup">
The goal is to put all data-role popups on one html page (the index.html is what i'm guessing could work) and be able to just reference that popup through only the use of a button on another page.
This would result in a cleaner and more efficient method when dealing with reusing a multitude of popups within an application. Unless I'm doing something wrong I thought this issue was addressed in the github in which case it should work.
Anyone know if this is possible or fixed or has an idea on how to get this to work?