Hi Perra,

Thanks for sharing your solution, but please avoiding posting new
subjects by replying to another group message, as in the groups
website the responses will all appear under the same thread:
http://groups.google.com/group/jquery-en/browse_thread/thread/257e93ae03bfc876

cheers,
- ricardo

On Jan 27, 4:53 pm, "Perra - Sandstream.se" <pe...@sandstream.se>
wrote:
> Hi!
>
> I submitted a question yesterday about the possibility to submit a form when
> the user had selected an item in the result list from the Autocomplete
> plug-in and left using the TAB-key.
>
> I found the answer today on a site:
>
> $(document).ready(function()
> {
>   // #id_query is the id of your text input field, #qf is the id of
> the form surrounding it
>   $("#id_query").result(function (event, data, formatted)
>   {
>     $('#qf').submit();
>   });
>
> }
>
> Just wanted you to know :-)
>
> -------------------------------------
>
> mvh
> Perra Sandström - pe...@sandstream.se
> Webmaster -www.sandstream.se

Reply via email to