can not .getJSON request to work
<p>My state legislature website offers a restful api.</p>

<p>What is the correct javascript / jquery code to fetch the value of kslegislature.org/li/api/v5/rev-1/bill_listing/
into a variable? </p>

<p>I can not seem to construct a working .getJSON request to pull the data.</p>

<p>Ultimately I want to be able to work with values like </p>

<pre><code>var kslegBills = RETURNED DATA;
console.log(kslegbills.content[1].BILLNO)
</code></pre>

<p>complete API guide available here: <a href="http://www.google.com/url?sa=D&amp;q=http://kslegislature.org/kliss_restian_interface_guide_v5.odt" rel="nofollow">http://www.google.com/url?sa=D&amp;q=http://kslegislature.org/kliss_restian_interface_guide_v5.odt</a></p>

<p>A gentle shove in the right direction would be greatly appreciated.</p>

<pre><code>jQuery.getJSON("http://www.kslegislature.org/li/api/v5/rev-1/bill_listing/&amp;callback=?", [], function(data, textStatus) { var kslegbills = data; alert(textStatus); } )
</code></pre>

<p><strong>UPDATE:</strong></p>

<p>Thanks to @JackWinks I was able to get a working request through a PHP wrapper. Working model at <a href="http://kansasgrassroots.com/files/kslegbills/" rel="nofollow">http://kansasgrassroots.com/files/kslegbills/</a></p>

<p>It works in chrome, but not firefox or safari. I suspect it is because of the large size of the request that FF and Safari are timing out before data is returned.</p>
