title: send request as jsonp, interpret response as text, using jQuery 1.5
body: <p>Short question: is there a way to make a jsonp request to a server, capture the request, but not parse it as javascript? I am using dataType: "jsonp text" in jQuery 1.5 but it is not working.</p>
  
  <p>I'm trying access a cross-domain URL via AJAX with jsonp. The problem is that the other domain (a directory listing at my university) is very old and I doubt the server supports jsonp. </p>
  
  <ul>
  <li>In Firefox, I get a "XML tag name mismatch (expected META)" error. In chrome I get a "Uncaught SyntaxError Unexpected token &lt;" both pointing to a file corresponding to my AJAX request . The error string from the error callback is "parsererror".</li>
  <li>I can't do a normal AJAX call -- when I change datatype to just "text" or remove it all together, the other domain complains that the user is not authenticated and redirects to a login page -- even if I've already logged in browser side. When dataType is jsonp, this doesn't happen.</li>
  <li>I know the server needs to support JSONP, and I don't think it does, but when I change dataType to JSONP, I can see the response page resources show up in both Chrome and Firefox -- so the server actually sends the response to the browser  (a static HTML webpage + some java script) -- which contains the data I want to get at. </li>
  <li>The problem is that jQuery is trying to parse the response as javascript, and fails (because it's not javascript). So the data ends up in the browser -- I just need to access it!</li>
  <li>Using dataType: "jsonp text" which is supposed to indicate send a jsonp request and interpret the response as text makes no difference -- still a parse error.</li>
  </ul>
  
  <p>What I want is: a way to access the response from a jsonp request as plain text. Or, if I can access the raw response from a failed jsonp request -- that would work too. </p>
  
  <p>Thanks in advance!</p>
  
  <p>Code:</p>
  
  <pre><code>ajax_url = 'https://somesite/?searchTerm='+query+'&amp;searchType=lastname';
  var jqxhr = $.ajax({type:"GET",
  url: ajax_url,
  dataType:"jsonp text",
  callback: "whatever",
  success:function(responseData) {
     $('div#content').text( responseData.slice(0, 100) );
     dbg(responseData.slice(0,100));
  }})
  .success(function() { alert("success"); })
  .error(function(obj, errStr) { alert("error"); dbg("error: " + errStr + "test: " + test.responseText + this.responseTxt);})
  .complete(function() { alert("complete"); });
  </code></pre>