title: phonegap .load jQuery doesn't load
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7962527/phonegap-form-submission-to-remote-server">phonegap form submission to remote server</a>  </p>
  </blockquote>
  
  
  
  <p>Another question. If this one can be solved, I'll definitely can solve this one <a href="https://stackoverflow.com/questions/7962527/phonegap-form-submission-to-remote-server">phonegap form submission to remote server</a>. </p>
  
  <p>So here's the code
  <strong>index.html</strong> </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Page Title&lt;/title&gt;
  &lt;link href="jquery.mobile-1.0rc1.min.css" rel="stylesheet" type="text/css"/&gt;
  &lt;link href="jquery.mobile.scrollview.css" rel="stylesheet" type="text/css"/&gt;
  &lt;link href="index.css" rel="stylesheet" type="text/css"/&gt;
  &lt;script src="jquery-1.6.4.min.js"&gt;&lt;/script&gt;    
  &lt;script src="jquery.mobile-1.0rc1.min.js"&gt;&lt;/script&gt;
  &lt;script src="phonegap-1.0.0.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
  function onLoad()
  {
      $('#content').load('http://xxx.com/xxx/get.php');
  
  }
  &lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;div data-role="page" id="header"&gt;
  
  &lt;div data-role="header"&gt;
  &lt;h1&gt;Header&lt;/h1&gt;
  &lt;/div&gt;
  
  &lt;div data-role="content" id="content"&gt;
  &lt;input type="button" value="click" onClick="onLoad();"&gt;
  &lt;/div&gt;
  
  &lt;div data-role="footer" id="footer"&gt;
  &lt;h4&gt;Footer&lt;/h4&gt;
  &lt;/div&gt;
  
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>get.php</strong></p>
  
  <pre><code>&lt;?php
  echo '&lt;p&gt;this is a test&lt;/p&gt;';
  ?&gt;
  </code></pre>
  
  <p>A very simple code, but it doesn't work. Can someone point out where did I do wrong? What I want to do is to get the response from <strong>get.php</strong>(remote server). So it would print "<em>this is a test</em>" from <strong>get.php</strong> into <strong>#content div</strong> in <strong>index.html</strong>. Thanks in advance.</p>