title: jQuery Mobile pageload code with params not firing
body: <pre><code>$("#home").on("pageload", function() {
      console.log("test2");
      var url = window.location.search;
      var split = url.split('=');
      var vendorID = split[1];
      $.ajax({
          type: "POST",
          url: "vendorpull.php",
          data: 'id=' + vendorID,
          cache: false,
          success: function(data) 
          {
              document.getElementById('vendor-data').innerHTML = data;
          }
      });
  });
  </code></pre>
  
  <p>This code does not seem to be firing unless the page is physically refreshed. I've tried pageshow, pagebeforeshow and others and it doesn't change. The test console.log does not even fire. This event should be trigged as soon as vendor.html?id=1 is loaded, that is the page that is navigated to containing the above AJAX code. Any suggestions?</p>