Might be useful for those who are moving from Jquery 1.3 to Jquery 1.4
Might be useful for those who are moving from Jquery 1.3 to Jquery 1.4
I think it is worth mentioning that when you are moving from 1.3 to 1.4 your sAjaxSource might not work while with version 1.3 it was working.
Notice taken from http://api.jquery.com/jQuery.getJSON/
Important: As of jQuery 1.4, if the JSON file contains a syntax error, the request will usually fail silently. Avoid frequent hand-editing of JSON data for this reason. JSON is a data-interchange format with syntax rules that are stricter than those of JavaScript's object literal notation. For example, all strings represented in JSON, whether they are properties or values, must be enclosed in double-quotes. For details on the JSON format, see http://json.org/.
I had some problems with single and double quotes, so make sure to make JSON data valid using http://www.jsonlint.com/ or other tool
Notice taken from http://api.jquery.com/jQuery.getJSON/
Important: As of jQuery 1.4, if the JSON file contains a syntax error, the request will usually fail silently. Avoid frequent hand-editing of JSON data for this reason. JSON is a data-interchange format with syntax rules that are stricter than those of JavaScript's object literal notation. For example, all strings represented in JSON, whether they are properties or values, must be enclosed in double-quotes. For details on the JSON format, see http://json.org/.
I had some problems with single and double quotes, so make sure to make JSON data valid using http://www.jsonlint.com/ or other tool
This discussion has been closed.