[jQuery] Disable globals for jQuery.get()?
Hi,
I have this bit of code that runs on page load:
$.get(token, function(txt) {
$emailStory.append('<input type="hidden" name="ts" value="' + txt +
'">');
});
But it triggers ajaxStart/ajaxStop... I have tried:
$.ajax({
url: token,
global: false
});
But that does not seem to help... I assume that is because $.get() is
not $.ajax().
Is there any way I can use $.get() but have ajax*() events ignore the
$.get() request?
Thanks for the help.
M