jQuery Mobile 1.4.5
) to load external js and css files. I know this script works and that the file paths are correct because 10 different jQuery mobile widgets work just fine.
However, the jQuery Mobile popup widget has an apparently unique problem. When I visit the passage containing the popup, the widget works as expected. If I move away from that passage and then come back, the popup no longer works. By "return," I mean that I have tried <<back>>, <<return>>, and a direct link to return to the passage, and the popup widget fails every time. The only thing that works to "reactivate" the popup is CTRL-R (in Firefox) to reload the page. I also know that the code I am using for the popup widget is correct because I have created a stand-alone HTML file with the same external files and the same widget code and the popup works as expected. Clearly, I'm missing something.
What can I do to make the jQuery Mobile popup widget work reliably upon repeat visits to a passage?