title: Support for page redirection in Jquery mobile using Ajax calls
body: <p>I am building a JQuery Mobile application based on a MVC framework.</p>
  
  <p>My problem is that I cannot send "redirect" directives (either HTTP, Javascript, META-refresh) to the browser.</p>
  
  <p>It results in the browser displaying a single line : "<strong>undefined</strong>".</p>
  
  <p>Here is the code for the redirect on the server side :</p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;
        &lt;script&gt;location.href='$url'&lt;/script&gt;
  &lt;/head&gt;&lt;/html&gt;
  </code></pre>
  
  <p>I know that I can fix the problem by using <code>data-ajax=false</code>, but i don't want that since :</p>
  
  <ul>
  <li>I want nice Jquery mobile transitions</li>
  <li>This is much faster in Ajax</li>
  <li>I don't want to wonder for each link whenever the framework might send a redirect</li>
  </ul>
  
  <p>Is there a way to make JQuery Mobile handle correctly one kind of redirect ? either HTTP, HTML META or Javascript ?</p>