when I call $('#home-page').trigger('create'), the widgets (like buttons) get enhanced, but not the page header and footer. What's the right way to enhance the *full* page with header & footer? In the docs, http://jquerymobile.com/demos/1.0/docs/pages/page-scripting.html
This can be triggered on any element (even the page div itself)
.page() doesn't work either.
Another question: is it a good idea to enhance the full page every time - I can't call trigger("refresh") because I use a template language, and the full page gets replaced. But when I insert the enhancement manually (in my template), the widgets (eg the selectmenu) won't work as expected (because no handlers are attached).