title: jquery mobile - event showpage on every page
body: <p>I need to capture every <code>showpage</code> event on every div with data-role=page in my web application (jquery 1.7.1, jquerymobile 1.1.0) to run a function InitPage();</p>
  
  <p>So in a Global.js, i made this</p>
  
  <pre><code>$(".ui-page").live("pageshow", function () { InitPage(); });
  </code></pre>
  
  <p>But, i don't know why, on some pages it works, but in others doesn't work.</p>
  
  <p>Any suggestion?</p>