[jQuery] Re: Autocomplete - Holding down key

2009-06-18 Thread Rune
Please take a look at: http://groups.google.com/group/jquery-en/browse_frm/thread/09ce001e76f38f30# On Jun 18, 11:53 am, bharani kumar wrote: > Hi send the complete jquery code , for that autocomplete >

[jQuery] Re: Autocomplete - Holding down key

2009-06-18 Thread bharani kumar
Hi send the complete jquery code , for that autocomplete Thanks On Thu, Jun 18, 2009 at 1:57 PM, Rune wrote: > > Jörn thank you. You are right. I did fumble around since I find the > caching mechanism a bit difficult to control. In this case I thought > that the autocomplete would filter out wh

[jQuery] Re: Autocomplete - Holding down key

2009-06-18 Thread Rune
Jörn thank you. You are right. I did fumble around since I find the caching mechanism a bit difficult to control. In this case I thought that the autocomplete would filter out what was returned from the server script regardsless of what was returned. So if the server returned "fish" and "cold" on

[jQuery] Re: Autocomplete - Holding down key

2009-06-15 Thread Jörn Zaefferer
Ok, first sorry for my previous message. I somehow go the idea that you implemented your own autocomplete plugin. So, testing on FF3 on Windows, holding the down cursor works fine, the selection continues to scroll. I don't have access to a Mac, so I can't test that currently. You could try to ed

[jQuery] Re: Autocomplete - Holding down key

2009-06-15 Thread Rune
Ok thanks. Here's how I initialize it:

[jQuery] Re: Autocomplete - Holding down key

2009-06-14 Thread Jörn Zaefferer
No, that isn't a jQuery issue. You're most likely doing it wrong, post some code! Jörn On Sun, Jun 14, 2009 at 9:27 PM, Rune wrote: > > So is the answer, that this is a jQuery issue?

[jQuery] Re: Autocomplete - Holding down key

2009-06-14 Thread waseem sabjee
there should be a work around ok this is untested but this should give you a starting point. might be a messy workaround. this may not be a solution but a step to identifying one. try something like this var keyhit = new Array(); // hold an array of keyvalue var lastkeyhit = new Array(); // hol

[jQuery] Re: Autocomplete - Holding down key

2009-06-14 Thread Rune
So is the answer, that this is a jQuery issue?

[jQuery] Re: Autocomplete - Holding down key

2009-06-14 Thread Jörn Zaefferer
You get that for free depending on the event you use. The jQuery UI autocomplete has this: // only opera doesn't trigger keydown multiple times while pressed, others don't work with keypress at all $input.bind(($.browser.opera ? "keypress" : "keydown") + ".autocomplete", function(event) { [...]

[jQuery] Re: Autocomplete - Holding down key

2009-06-14 Thread waseem sabjee
hmm i'm not too clued up on the auto complete plug in. but i have made my own autocomplete script usualy i would create a global variable. here's an example var keylog = 0; // on my key press event i would log the key like so keylog = 1; // on my key up i would set it back to 0 lkeylog = 0;

[jQuery] Re: Autocomplete - Holding down key

2009-06-14 Thread Rune
BTW this seems to be a problem with Firefox (not IE7 at least). On Jun 14, 1:44 am, Rune wrote: > Hi there > > I have implemented the very nice autocomplete plugin. Had to fight a > couple of hours though because the thing just wouldn't show anything > when I used an external data source. Finall