Basically, I have a list that I want to be able to navigate through the li
tags with up and down arrows.  When the list is selected a function binds
keydown with:

$(document).keydown..... etc.

Then when the list is not selected the keydown function is unbound with:

$(document).unkeydown..... 

The script functions as would be expected in the all browsers except safari.
When any key is pushed in safari the keydown function fires twice. 

Does that make sense?

Thanks, David


Brandon Aaron wrote:
> 
> This might be caused by the event handler being attached to the window
> and document in safari but I'm unsure. Try being explicit in what you
> are attaching the event too.
> 
> --
> Brandon Aaron
> 
> On 1/3/07, blemming <[EMAIL PROTECTED]> wrote:
>>
>> Has anyone been able to confirm this issue in Safari?
>>
>>
>> blemming wrote:
>> >
>> > I'm trying to put together some keyboard navigation for a plugin I am
>> > working on but the keydown function seems to fire twice when a key is
>> > selected in safari.  Is this a bug?
>> >
>> > Here is an example=> 
>> http://brilliantretail.com/cases/select3/test.html
>> > Simple Exampe
>> >
>> > The alert fires twice only in the safari browser......
>> >
>> > Thanks, david
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/keydown-fires-twice-in-safari-tf2906674.html#a8144352
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> jQuery mailing list
>> [email protected]
>> http://jquery.com/discuss/
>>
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/keydown-fires-twice-in-safari-tf2906674.html#a8145667
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to