title: No 'Access-Control-Allow-Origin' error in cordova
body: <p>I have a project created by cordova. If i execute the following:</p>
  
  <pre><code>$.ajax({
    url: "http://101.01.105.159/mySource", 
    crossDomain : true,
    beforeSend: function( xhr ) {
      xhr.overrideMimeType( "text/plain; charset=x-user-defined" );
    }
  })
    .done(function( data ) {
      if ( console &amp;&amp; console.log ) {
        console.log( data);
      }
    });
  </code></pre>
  
  <p>i take the following error:</p>
  
  <pre><code>GET http://101.01.105.159/mySource n.ajaxTransport.k.cors.a.crossDomain.send @ jquery-2.1.3.min.js:4n.extend.ajax @ jquery-2.1.3.min.js:4(anonymous function) @ VM2064:2InjectedScript._evaluateOn @ VM1791:904InjectedScript._evaluateAndWrap @ VM1791:837InjectedScript.evaluate @ VM1791:693
  punten.html:1 XMLHttpRequest cannot load 101.01.105.159/mySource. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 401.
  </code></pre>
  
  <p>However, if i execute it outside the cordova-environment, it gives the results. What should i do?</p>