[jQuery] Re: Highlight onKeyUp using Cursor Keys

2009-01-23 Thread jay
No, not necessarily. You could store a reference to the selected element in a variable. You wouldn't want to have to iterate through the list of elements every time to determine if it is selected if you don't have to. On Jan 23, 4:58 pm, bittermonkey wrote: > and to find out which element

[jQuery] Re: Highlight onKeyUp using Cursor Keys

2009-01-23 Thread bittermonkey
and to find out which element was selected, I have to check for its background? Is that right? On Jan 23, 4:49 pm, jay wrote: > You could write something yourself fairly easily.  Just update the > backgroundColor css property when you press the up/down keys on your > absolutely positioned e

[jQuery] Re: Highlight onKeyUp using Cursor Keys

2009-01-23 Thread jay
You could write something yourself fairly easily. Just update the backgroundColor css property when you press the up/down keys on your absolutely positioned element, and when you press enter perform an action that is associated with that element. On Jan 23, 4:32 pm, bittermonkey wrote: > The co

[jQuery] Re: Highlight onKeyUp using Cursor Keys

2009-01-23 Thread bittermonkey
The code is a bit overwhelming for just the highlight functionality. Thanks anyway. On Jan 23, 4:17 pm, jay wrote: > Here is a jquery autocomplete plugin I googled and seems to do what > you want: > > http://www.pengoworks.com/workshop/jquery/autocomplete.htm > > On Jan 23, 4:00 pm, bittermonkey

[jQuery] Re: Highlight onKeyUp using Cursor Keys

2009-01-23 Thread jay
Here is a jquery autocomplete plugin I googled and seems to do what you want: http://www.pengoworks.com/workshop/jquery/autocomplete.htm On Jan 23, 4:00 pm, bittermonkey wrote: > How do I initialize a hover on a tag using cursor keys in > jQuery?  It's similar to how google highlights its auto