title: Ajax POST request with jQuery, Cordova fails
body: <p>I am trying to setup a login screen in my Cordova app using jQuery.
  My REST api uses ExpressJS.
  I am able to access my Web app via the mobile browser.
  But when I try the same login form from the Cordova app it doesn't work.</p>
  
  <p>Basically the problem is that I can't post the results of the login form to my backend.</p>
  
  <p>My ajax code is: </p>
  
  <pre><code>$.ajax({
          url: "http://192.168.2.23:3000/login", 
          type: 'POST', 
          contentType: 'application/json',
          crossDomain: true, 
          data: JSON.stringify({"u": "test", "p": "test"}),
          success: function(data) {
              var backendData = JSON.parse(data);
  
              if (backendData["UserFound"]) {
                  loggedInPerson = backendData;
                  delete loggedInPerson["UserFound"];
              }
          },
          error: function(e) {
              alert('Error: ' + e.message);
          }
      });
  </code></pre>
  
  <p>Would anyone be able to help me out please ?</p>
  
  <p>Thnx in advance.</p>