[jQuery] Re: [autocomplete] do search on input focus

2008-10-26 Thread Jörn Zaefferer
Try $(this).click().click() then. Jörn On Sat, Oct 25, 2008 at 5:22 PM, blasto333 [EMAIL PROTECTED] wrote: That works for when the field is focused by clicking in it, but now when tabbing into it (even though the focus event does occur!) Any other ideas? On Oct 23, 3:57 pm, Jörn Zaefferer

[jQuery] Re: [autocomplete] do search on input focus

2008-10-25 Thread blasto333
That works for when the field is focused by clicking in it, but now when tabbing into it (even though the focus event does occur!) Any other ideas? On Oct 23, 3:57 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Try this: $(...).autocomplete(url, {   minChars: 0 }).focus(function() {  

[jQuery] Re: [autocomplete] do search on input focus

2008-10-23 Thread Isaak Malik
Oups, I think it should be: $(function() { $(#category).focus(function(){this.autocomplete(do_search.php,{max:100,minChars:0,delay:10}) }); }); On Thu, Oct 23, 2008 at 12:16 AM, blasto333 [EMAIL PROTECTED] wrote: That didn't work either. If I double click in the field, the expected behavior

[jQuery] Re: [autocomplete] do search on input focus

2008-10-23 Thread Jörn Zaefferer
Try this: $(...).autocomplete(url, { minChars: 0 }).focus(function() { $(this).click(); }); Jörn On Thu, Oct 23, 2008 at 9:38 PM, blasto333 [EMAIL PROTECTED] wrote: Still no luck, the plugin I am using is: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ On Oct 23,

[jQuery] Re: [autocomplete] do search on input focus

2008-10-22 Thread Isaak Malik
I have no idea which autocomplete plugin you're using but does the following work for you? $(function() { $(#category).focus(function(){$(this).autocomplete(do_search.php,{max:100,minChars:0,delay:10}) }); }); On Wed, Oct 22, 2008 at 4:19 PM, blasto333 [EMAIL PROTECTED] wrote: Is there a way

[jQuery] Re: [autocomplete] do search on input focus

2008-10-22 Thread blasto333
That didn't work either. If I double click in the field, the expected behavior occurs. On Oct 22, 10:41 am, Isaak Malik [EMAIL PROTECTED] wrote: I have no idea which autocomplete plugin you're using but does the following work for you? $(function() {