[jQuery] getJSON Callback not firing

[jQuery] getJSON Callback not firing


Hey folks,
I'm trying to work on some cross-site stuff, and I'm using JSON between
the domains to transfer the data.
In my below code, the code fires the .getJSON, and I can see the JSON in
my firebug scripts tag, but the callback is not getting fired:
LoadContent = $.klass({
initialize: function(options){
$loadingarea = this.element;
console.log($loadingarea)
$.getJSON(options.url,{q:'nfp/front'}, function(data){
console.log(data);
});
}
});
$(document).ready(function(){
$('#loading-area-container').attach(LoadContent, {url:
'http://nfp.dev.lightershade.com/?jsoncallback=?'});
});
At the moment, here is the data I am trying to load:
({"nid":"1","title":"Test
Entry","type":"story"},{"nid":"2","title":"Test 2","type":"story"})
It was contained in square brackets before like [{...}], but I changed
it to () based on previous entries on the group, however it still will
not go into the callback function. Does anyone have any idea what's
going wrong here??
Thanks
Tane Piper
http://digitalspaghetti.me.uk