jquery - Set traditional property in AJAX shorthand methods -
is possible set tradition property ajax shorthand commands such $.post()
& $.get()
?
i know possible set following
$.ajax({ url: url, type: "get", traditional: true, } });
however, shorthand version.
the way seems be
$.ajaxsetup({ traditional:true });
but applied (future) ajax queries.
$.post
or $.get
"shorthand ajax functions", without "options" parameter.
Comments
Post a Comment