Hi sulo,
The custom search control assumes that if you specify your own input box,
you want to search as you type. You can override this behavior on your own
and add your own logic if you like. The first step could be removing the
onkeyup handler that the custom search control adds to your input box. This
might look something like
document.getElementById('query_input').onkeyup = null;
Or you could add your own onkeyup handler. From there you can add your own
logic to submit or execute the query.
Happy coding,
Jeff
On Sun, Jun 20, 2010 at 5:08 AM, MrSulo <[email protected]> wrote:
> My last question :)
>
> Is it possible to say "start search" bei click on a button. I dont
> want the autosearch (onkeyup).
>
> Thanx 4 the fast help!
>
> cheers,
> sulo
>
> --
> 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]<google-ajax-search-api%[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.