Assuming you're using the default search control, after you draw the  
search control, set an onfocus listener on searchControl.input that  
calls searchControl.clearAllResults, where searchControl is the handle  
you assigned to your control.


Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
[email protected]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!

And check out my blog, Adventures in Web Development, at 
http://jgeerdes.blogspot.com 
  !


On Feb 26, 2009, at 1:54 PM, Pezzin wrote:

>
> Hi all,
>
> I am developing a new iGoogle gadget that is using the AJAX Search
> API.
>
> I have an initial value in the query field, and I was wondering: is
> there a way to have the query disappear as soon as the user clicks on
> the search field? Something like it happens when you hit the small
> [x] ?
>
> Thanks for any tips you might have.
> Christian
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to