I have a code:
$(document).ajaxComplete(function() {
DoSomething();
});
function DoSomething() {
...
$.get(MyUrl, function() {
...
});
...
}
But $.get cyclnig ajaxComplete event :(
Exist some way, how to get HTML content from my URL into variable to work with this variable (find class and content) or some way, how to disable ajaxComplete event ONLY for the proccess with $.get ?