title: transition from one page to another jquery mobile
body: <p>I'm trying to figure out how to transition from one page to the next using jQuery mobile. I have a JSON callback function, and once that function returns a value (say YES or NO), then I either want to transition to a specific page or display an error message. Could somebody provide some sample code on how to write this transition?</p>
  
  <p>I get that the href should look something like this: </p>
  
  <pre><code>&lt;a href="nextPage.html" data-transition="reverse slide"&gt;Next page&lt;/a&gt;
  </code></pre>
  
  <p>But how do I call this from within a javascript callback function? Thanks!</p>