Unfortunately, with the default control, while you can certainly add a checkbox, there's no real way to toggle a searcher like you're wanting. You might try my Be-Awesome Tabbed Search Control, which does include a removeSearcher method. Here's a link to check it out:
http://jgeerdes.home.mchsi.com/playground/jBTSC.html Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Apr 27, 2010, at 6:28 AM, Itayd wrote: > hello, > i'm using 2 searchers at the same search control: > > searchControl.addSearcher(new google.search.WebSearch(), options); > searchControl.addSearcher(new google.search.BookSearch(), options); > > now, i want to create a checkbox, if it will be checked, it will > search also in the BookSearch, if not, it will only use the WebSearch. > > so, my question is: > if i used "searchControl.addSearcher", is there also > "searchControl.removeSearcher"??? > > thanks, > Itay > > -- > 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. > -- 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.
