Copied from https://aspnet.codeplex.com/workitem/8186
Vote number: 5
The global default value (set with jQuery.ajaxSetup) for "type" is overriden with "GET" in $("form[data-ajax=true]").live("submit"
and in $("a[data-ajax=true]").live("click"
Also:
X-HTTP-Method-Override/X-Requested-With are added in options.data instead of option.headers
In $("a[data-ajax=true]").live("click" the type is forced to GET and data reset to an empty array [], ignoring global options.
Vote number: 5
The global default value (set with jQuery.ajaxSetup) for "type" is overriden with "GET" in $("form[data-ajax=true]").live("submit"
and in $("a[data-ajax=true]").live("click"
Also:
X-HTTP-Method-Override/X-Requested-With are added in options.data instead of option.headers
In $("a[data-ajax=true]").live("click" the type is forced to GET and data reset to an empty array [], ignoring global options.