title: phonegap android ajax call doesnt work
body: <p>Im trying to make ajax call from eclipse android emulator with phonegap platform and jquery library to my developing computer. Here is scenario my server is running on my computer the same for emulator. When I try to call with ajax like this:</p>
  
  <pre><code>$.ajax({
              type : "POST",
              url : "http://10.4.40.235/API.public/index.php",
              success : function(data)
              {
                  alert(data);
              }
   });
  </code></pre>
  
  <p>It doesnt work. I assume because of cross domain ajax request, but how can I do this. I also tried with 10.0.2.2 IP but it didnt work as well. Spent couple of hours and dont seem to get anywhere.... my emulator and server on pc are connected because if I go with browser to 10.4.40.235/API.public/index.php it works...</p>
  
  <p>In LogCat I get following error:</p>
  
  <pre><code>WEb Console: Uncaught SyntaxError: Unexpected indetifier at: http://10.0.2.2/API.public/index.php?calback=jQuery[some numbers]
  enter code here
  </code></pre>