title: jQuery Ajax on Different Port
body: <p>My php file located at port 80 (default port) while my ajax call are on port 8080.</p>
  
  <p>My index.html on port 8080</p>
  
  <pre><code>$(document).ready(function(){
  $.get("userCheck.php", 
          {"username" : "lazy", "favcolor" : "FFFFFF" },          
          function(data){ alert("Data Loaded: " + data);
  });
  </code></pre>
  
  <p>My PHP</p>
  
  <pre><code>$user = $_GET["username"];
  if($user == "lazy")
      echo "SUCESS";
  else
      echo "FAIL";
  </code></pre>
  
  <p>I have googled abit, JSONP came out mostly. Any idea how to convert it to JSONP?</p>
  
  <p>Any way to make it work?</p>