title: PhoneGap: Can't Load External Website
body: <p>I'm trying to display a page, for example, www.google.com, in a PhoneGap application.  However, I can't get the page to open in Safari, much less within PhoneGap (which is my ultimate goal).</p>
  
  <p>I saw this post: <a href="https://stackoverflow.com/questions/5911255/phonegap-for-iphone-problem-loading-external-url">PhoneGap for iPhone: problem loading external URL</a>, and have tried from it the following:</p>
  
  <p>-As described in the solution to that question, I have modified my <strong>AppDelegate.m</strong> file.</p>
  
  <p>-After doing this, in part of the <strong>index.html</strong> file (created by PhoneGap), I have this code:</p>
  
  <pre><code>window.location("http://google.com");
  </code></pre>
  
  <p>Although the project compiles and builds fine, I see only a blank page.</p>
  
  <p>I would appreciate any help, thank you.</p>