Since upgrading to the lastest version of jQuery from 1.4, my ajax posts no longer allow ?? (double question marks). Instead they are replaced with something like jQuery15206629880418804291_1302038490086
Using Firebug, I can see the following data sent in a post:
$.ajaxSetup({
type: 'POST',
contentType: 'application/json; charset=utf-8',
dataType: 'json',
global: false
});
this._xhrM = $.ajax({
url: '/services/chatroomservice.asmx/SendReceive',
data: '{"R": "??"}',
success: function (results) {}
};
Sent over the wire as:
{"R": "jQuery15206629880418804291_1302038490086"}
I have tried setting the traditional to true and processData to false, both had no effect.
Set the
jsonpoption tofalse. According to the docs that should prevent?from being expanded to a function in jQuery 1.5+.