Good morning,
I am using the jQuery ajaxComplete Function and I wonder if it would be possible to use it on a specific element (div)?
Example:
AjaxComplete method sets a global ajax hadler, which fires whenever any ajax call completed. Ajax requests are not bound to any element, so you can't use ajaxComplete on element. I suggest you to add complete handler directly into your ajax call like
$.ajax({
//...your options
complete: function(){
//..your complete logic
}
});
Best regards. Hope it will help.