I have 2 questions.
Is it wrong to have multiple AjaxSetup? Say I have 2 pages. 5 options are needed on one page and 7 options on the other (5 of them are the same as on the first page). Can I just install 2 ajax installations instead of one? therefore, I do not repeat the same options.
If you have the ajax configuration option installed and the same option set at the ajax request level ($. Ajax), which one will you need? Will it take one of the ajax jobs or the global one on ajaxSetup?
thank
Nothing in the jQuery doctor says your first question, so I'm doing a little test at http://jsfiddle.net/x6agm/1/ and according to the behavior:
$.ajaxSetup
$.ajax
, , ^ _ ^