[jQuery] [Autocomplete] Form submit or link on mouse click or return key
Hello, I'm using jQuery Autocomplete ( http://docs.jquery.com/Plugins/Autocomplete
) to display results from a php page.
Since that is my only field, I want to submit the form when I click on
the result or I press the 'return' key.
How do I do that?
The result is showing something like 'artist - album' and I'd like to
post only the artist .
Also, it would be event better without a form submit: the results
would have their own php-generated link to another php page with
artist passed as a $_GET variable. I click or press enter on them and
it would work just like a link.
Is there a way to achieve that, either by submitting the form or by
linking to the new php page?
Thanks