title: Issues with jQuery, ajax, and jsonp
body: <p>I am using jsonp and ajax to access a web service on another server. Here's the jQuery:</p>
  
  <pre><code>$.ajax({
    type: 'GET',
    url: wsurl + 'callback=?',
    dataType: 'jsonp',
    crossDomain: true,
    error: function(data) {
      console.log('error', data);
    },
    success: function(data) {
      console.log('success', data);
    },
    complete: function() {
      console.log('done');
    }
  });
  </code></pre>
  
  <p>The issue is that the error callback is being called. It gives me this wonderfully helpful information:</p>
  
  <pre><code>{
    readyState: 4,
    status: 200,
    statusText: "success"
  }
  </code></pre>
  
  <p>And here is the json file I am calling:</p>
  
  <pre><code>{
    "id": 0,
    "room_number": "0",
    "first_name": "Admin",
    "last_name": "Istrator",
    "password": "",
    "salutation": "Mr.",
    "telephone": "",
    "email": "",
    "description": "admin",
    "checkin_date": 915797106000,
    "checkout_date": 4071557106000,
    "last_login_date": 947333106000,
    "active_status": true,
    "created_date": 915797106000,
    "created_by": 0,
    "reference_id": ""
  }
  </code></pre>
  
  <p>I tried using the getJSON jQuery method first, with the same result. Thought I'd try the base ajax method, since it has a bit more control, but as you can see, no luck. So, notice anything I'm doing wrong? Have any idea why it is throwing an error and giving me a successful value for the statusText property?</p>
  
  <h2>EDIT</h2>
  
  <p>Alright, I added some options to the ajax call, and removed the callback param from the url. Here's the new ajax call:</p>
  
  <pre><code>  $.ajax({
      type: 'GET',
      url: wsurl,
      dataType: 'jsonp',
      crossDomain: true,
      error: function(xhr, textStatus, errorThrown) {
        console.log('textStatus: ' + textStatus);
      },
      success: function(data) {
        console.log('success');
        console.log(data);
      }
    });
  </code></pre>
  
  <p>I'm getting a new error, which is good I suppose, but still not working. Difference is that the textStatus is now "parsererror". The console is also throwing a syntax error on line one of the json file:</p>
  
  <pre><code>Uncaught SyntaxError: Unexpected token :
  </code></pre>
  
  <p>Ideas?</p>