[jQuery] Re: [autocomplete] Submit form on click result

2009-04-17 Thread Raja Koduru

Dan,
Do you want an ajax post or form submit
Can you provide some information on what you are looking for?

- raja koduru

On Fri, Apr 17, 2009 at 4:44 PM, dajaniel daniel.howe...@googlemail.com wrote:

 Hi there,

 My jquery is pretty sketchy so I was wondering if anybody knew how to
 submit the form that the search field appears in on click of a result
 (after having populated the textfield and any other fields)? Not sure
 how to do this...

 Thanks!

 Dan.



[jQuery] Re: [autocomplete] Submit form on click result

2009-04-17 Thread Tom Worster

On 4/17/09 7:14 AM, dajaniel daniel.howe...@googlemail.com wrote:

 My jquery is pretty sketchy so I was wondering if anybody knew how to
 submit the form that the search field appears in on click of a result
 (after having populated the textfield and any other fields)? Not sure
 how to do this...

check out the documentation for .result() in the autocomplete plugin, then
look at the docs for jquery's .trigger(), here's the links:

http://docs.jquery.com/Plugins/Autocomplete/result#handler
http://docs.jquery.com/Events/trigger#eventdata