Funny problem after jQuery1.4 update
Hello all make some ajax calls using $.getJSON method the call work fine. I use one of the returned data components as a key for the next getJSON call i make (which gathers other information). The error i noticed is after i installed jQuery 1.4 the URL being passed to the 2nd $.getJSON call is for some reason appending a "%5B%5D" to the string.
Example of how i'm using getJSON
var noCache = new Date().getTime();
$.getJSON('model/AJAX.cfc?method=getAssessmentDetails&returnFormat=json&queryformat=column', {id:assessmentID, nd:noCache},
function(result,status) {
//where assessmentID came from the first getJSON call.. and when i dump assessmentID (via alert) i get the correct id..
});
Example of link. Only the first param gets the %5B%5D added.
http://MYIP/AJAX.cfc?method=getAssessmentDetails&returnFormat=json&queryformat=column&%5B%5Did=126&nd=1265058548452