title: Cross domain issue with .ajax (JQuery) to a domain I own -- simple PHP page
body: <p>So I know this is a common problem and have seen a lot of people talking about it but feel that my situation is unique and maybe not as involved as others.</p>
  
  <p>I have a host website and trying to build an iPhone app with JQ and PhoneGap.  </p>
  
  <p>I want people to be able to pass their score to my home domain from the app but am getting the dreaded:
  "Origin null is not allowed by Access-Control-Allow-Origin."
  when I try and call this:</p>
  
  <pre><code>$.ajax({
          type: "POST",
          url: 'http://www.homesite.com/thephppage.php',
          data: {
              'guid': '12333-54',
              'score': 52,
              'initials': 'tod'
          },
          success: function (data) {
              try {
  
                  }
                  else {
  
                  }
              }
              catch (err) {
                  alert(err);
              }
          },
          error: function (xhr) {
              alert(xhr.responseText);
          }
      });
  </code></pre>
  
  <p>Since this is calling out to a domain I own, is there something simple I can do to rectify this issue?  </p>
  
  <p>Thanks.
  T</p>