title: jQuery getJson no response when searching solr
body: <p>I am trying to search a local Solr core and am getting no response using getJSON. I know the URL works and returns a response but the getJson function seems to return null. </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Ray Search&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      Document ID:&lt;br&gt;
      &lt;input id="query" type="text" name="document_ID"&gt;&lt;br&gt;
      &lt;button onclick="searchSolr();"&gt;Search&lt;/button&gt;
      &lt;div id="results"&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type='text/javascript'&gt;
      function searchSolr() {
          var searchStr = $('#query').val();
          if (searchStr.length == 0) {
              return;
          }
          var searchURL = "http://localhost:8983/solr/Ray-Docs/select?q=*&amp;wt=json&amp;json.wrf=on_data";
          $.getJSON(searchURL, function (result) {
              var docs = result.response.docs;
  
              var total = 'Found ' + result.response.numFound + ' results';
              $('#results').prepend('&lt;div&gt;' + total + '&lt;/div&gt;');
          });
      }
  &lt;/script&gt;
  &lt;/html&gt;
  </code></pre>