title: jquery mobile load page external into div
body: <p>How do insert the external code of register.html page in a <code>div</code> when  when it finishes successfully my call <code>ajax</code>?</p>
  
  <pre><code>function onSuccess(data, status)
      {
  
           $.mobile.pageContainer = $("#content").pagecontainer();
          $.mobile.pageContainer.pagecontainer("load", "register.html");
      }
  
      function onError(data, status)
      {
          // handle an error
      }        
  </code></pre>
  
  <p>I use <code>pageContainer</code> but not load the html in <code>#content div</code></p>