Per chi dopo l'aggiornamento a Jquery >= 1.5 riscontrasse problemi ad utilizzare la funzione jQuery.getJSON() (o le chiamate json in generale) segnalo questa nota:
http://api.jquery.com/jQuery.ajaxAs of jQuery 1.5, setting the jsonp option to false prevents jQuery from adding the "?callback" string to the URL or attempting to use "=?" for transformation. In this case, you should also explicitly set the jsonpCallback setting. For example, { jsonp: false, jsonpCallback: "callbackName" }
Le possibili soluzioni sono la modifica delle impostazioni globali di Jquery:
oppure la gestione delle chiamate jsonp lato server.codice:jQuery.ajaxSetup({ jsonp: null, jsonpCallback: null });
![]()