I can't post a url b/c can't post real json url.. so here's my code with a dummy url...


Code:
$.getJSON("http://dummySubdomain.domain.com/movies.json?callback", function(json) {
		 console.log(json);
	});


why do I get error,

Code:
callback is not defined.....
I got that code from here, http://davidwalsh.name/jsonp
(and http://coding.smashingmagazine.com/2...n-api-clients/ )


I don't have that problem here...

http://mayacove.com/dev/json/flickr.html

(I used "jsoncallback" here, instead of just "callback" did this a few years ago, I don't remember why.....
(I tried using just "callback" on this flickr page.... but then nothing prints... (but I don't get error... oh brother... I love JSON.....)


thank you....


PS: sorry, I need to change this... not getting error anymore, but nothing prints.. (oh man...)
the json url is correct as I can load it directly on the browser and see the content....


this is my code now...


Code:
$.getJSON("http://dummySubdomain.domain.com/movies.json?callback", function(json) {
		 console.log(json);
		 $('div').html('json:  '  + json); // this line does not get executed at all, nothing prints (neither does the console.log()  but I don't get any errors)
	});