Hey Peeps
I was wondering if it was possible to cancel an ongoing webSearch ?
webSearch = new google.search.WebSearch();
Im doing a simple searchbar, with ajax "search as you write", but if
the users deletes all in the searchbar it would still search the last
query.
I usually do this with
var xhr;
function something() {
xhr.stop();
xhr = $.get ...
in jQuery.
How do do this with the Google AJAX API ?
// Jimmy
--
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en.