title: jQuery Mobile “Error Loading Page”
body: <p>I am using Jquery1.8.2 and Jquery-mobile 1.1</p>
  
  <p>When i click on Logout button i have to goto the Home page. I am able get the home page but before going back to the home page got the <strong>"Error Loading Page"</strong> message.</p>
  
  <p>Test.html</p>
  
  <pre><code>&lt;body&gt;  
    &lt;div data-role="page"&gt;
        &lt;div data-role="header" data-theme="b" &gt;
            &lt;h1&gt; Success Page &lt;/h1&gt;
             &lt;a data-role="button" id="logoutbtn" data-theme="b"&gt;Logout&lt;/a&gt;
         &lt;/div&gt;&lt;!-- /header --&gt;
         &lt;div data-role='content'&gt;            
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>test.js</p>
  
  <pre><code>$(document).ready(function(){   
  $("#logoutbtn").click(function () {     
      document.location.href = "Home.html";
  });
  });
  </code></pre>
  
  <p>Please help me out on this.</p>