title: jQuery JSONP "has no method 'json'" parse error
body: <p>I am attempting to make a jsonp call with jQuery 1.7 but when the call returns I get the following error:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Object function ( response ) {
              responseContainer = [ response ];       } has no method 'json'</p>
  </blockquote>
  
  <p>When inspecting the data being returned I noticed that '.json' is being appended to the callback function name:</p>
  
  <pre><code>jQuery17206211688306648284_1336426518269.json({"..."})
  </code></pre>
  
  <p>Here is the code that is making the request:</p>
  
  <pre><code>$.ajax({
    url: "...",
    dataType: 'jsonp',
    success: function(data) {
      return console.log(data);
    }
  });
  </code></pre>
  
  <p><strong>Answer:</strong></p>
  
  <p>As <strong>adeneo</strong> said the server was trying to specify a callback function of 'json' this is handled by setting the following parameter on the $.ajax call:</p>
  
  <pre><code>jsonpCallback: 'json'
  </code></pre>