-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to grab some JSON from Apple's iTunes JSON service. The request is simple:
http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsSearch?term=jac&limit=25
If you visit the URL in your browser you will see some well-formed (backed up by jsonlint.com) JSON. When…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a getJSON call that is called back correctly, but the data variable is null. The python code posted below is executed by the getJSON call to the demandURL. Any ideas?
javascript:
var demandURL = "/demand/washington/";
$.getJSON(demandURL, function(data) {
console.log(data);
});
python:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The jQuery.getJSON() method seems to ignore the normal rules of scoping within JavaScript.
Given code such as this...
someObject = {
someMethod: function(){
var foo;
$.getJSON('http://www.somewhere.com/some_resource', function(data){
foo = data.bar;
});
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
http://portlandonline.com/shared/cfm/json.cfm?c=27321
It's returning null. I don't really have access to this. I have to have a server admin update the feed to my liking, so if you can tell me how to get this to work as is, without adding tags to my HTML please let me know. I will be using this…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have the following code in html, I cannot get the Function call back of JSON get call. Down is the code in controller. Please Help
<script type="text/javascript">
$().ready(function() {
$("#CuitDespachante").typeWatch({ highlight: true, wait: 500, captureLength: -1, callback:…
>>> More