I just upgraded jQuery from 1.3.2 to 1.4.2, and I think this gives me some problems. I have a function $.post() , which calls the controller method and passes on some data, which I format like this:
$.post(url, { arrayParam: myArray, param2: false }, someCallback, 'html');
In Firebug, POST says the parameters in 1.3.2 are as follows:
arrayParam: 100 arrayParam: 101 (etc..)
But for 1.4.2 they look like this:
arrayParam[]: 100
This crashes my controller expecting a List<Int32> for arrayParam (and causes some JSON problems around the codebase). Is there any way around this without returning to 1.3.2 or reprogramming all my controllers?
thanks
Jason source share