title: window.location.href not working in phonegap
body: <p>I want to redirect to another page in Phonegap. </p>
  
  <p>I have written the following code in javascript but it is not getting redirected:</p>
  
  <pre><code>window.location.href = "http://www.google.com";
  </code></pre>
  
  <p>Can anyone advise why it is not working?</p>