Brandon Aaron schrieb:
Sure, but ajaxSettings are the default options for the ajax method. It seems like a bad idea to me to nest those defaults.Yeah just like most plugins do with their options.
// ugly: jQuery.extend(jQuery.ajaxSettings.headers, { myHeader: "myValue"; } And ajaxSetup() is totally useless in that case.Instead of recursively extending objects I'd really prefer to see a solution that does work without that nesting.
-- Jörn Zaefferer http://bassistance.de