What\'s the right way to initialize objects on a jquery mobile page? The events docs say to use \"pageInit()\" with no examples of that function, but give exam
pageInit()
$(document).on("pageinit", "#myPage", function(event) { alert("This page was just enhanced by jQuery Mobile!"); });