I tried doing $.ajaxStart(function(){}), but it does not replace it, but appended.
Thank you for your help.
I tried doing $.ajaxStart(function(){}), but it does not replace it, but appended.
Thank you for your help.
If I understand, you want to remove the ajaxStart handler from the element.
If so, just use jQuery's unbind() since the handler is attached as an event.
$('selector').unbind('ajaxStart');