title: How to execute JavaScript after a page is transitioned with jQuery Mobile
body: <p>When a page do a transition to another (and use the <code>location.hash</code> stuff) , this second page does not load any JavaScript. How can I execute JavaScript when a page is loaded (if this one "comes" from a transition from its parent) ?</p>
  
  <p>I have page1.html, with a link to page2.html. This page2.html loads with a transition (slide effect by default).</p>
  
  <p>In page2.html no JavaScript is executed. I tried with a simple</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  alert("x");
  &lt;/script&gt;
  </code></pre>
  
  <p>but does not work. I tried with a lot of <code>document.ready</code>, <code>bind</code>, <code>live</code>, <code>oncreate</code>, <code>pagecreate</code>, and so on.</p>