I'm doing small AJAX searchbar with "new google.search.WebSearch();" from Google AJAX Api.
How do i can cancel an ongoing ajax request?
I usually do a:
var xhr;
function Something() {
xhr.stop();
xhr = $.get ....
}
in jQuery.
What is the equavalent for the Google websearch object?