我有两个jQuery脚本 - 一个用于内联表单编辑,第二个是jQuery自动完成.
自动完成具有以下ajaxSetup:
$.ajaxSetup({
url: '/notes/inlineedit',
type: 'POST',
async: false,
timeout: 500
});
Run Code Online (Sandbox Code Playgroud)
同时,自动完成需要输入:TRUE和async:TRUE.有没有办法将此选项设置为仅影响一个脚本?