There is such a problem: I edit someone else's script, and there ajaxStart and ajaxStop are tightly tied to the script and I need to execute my ajax request on the page so that these events are not triggered. Question: Is it possible to specify this additionally in the ajax (post) method? Or perhaps correct what the author composed. Unfortunately, I did not find the answer on the Internet ..
Here is how the author handles this method (without it, its script () does not work:
jQuery(document).ajaxStart(function () { console.log('ajaxStart'); });
For the ajaxStop method is similar.
jQuery('#container').ajaxStart(function () { console.log('ajaxStart'); });
, but it still works for my ajax request. - FirsimajaxStart
you? :) You can add your code to these functions, in the sense ofajaxStart
? - Moonvvell