Forum Navigation
You need to log in to create posts and topics.

Re: Key Up Event?

Posted by: rbrown <rbrown@...>

Martin Fitzgibbons wrote:
>
> Why does the following code only respond to the keydown event?
>
Well, here we have a mystery. Your question immediately rang a bell,
because, I could swear that I had tried a similar experiment once and
discovered the same thing, that the "key down" event was being detected
but the "key up" wasn't.

So I looked through my own collection, and found a program which
apparently I had written for the purpose of demonstrating this
"feature." But when I ran it, I discovered that the "key up" event was
being detected wonderfully.

Hmmm...so I copied your code your code verbatim, and ran it as well.
The "key up" event is being detected with your code too! At least on my
machine, at least at the present time.

It would appear that, under some circumstances which I now can't
duplicate, the "key up" event is not seen. I don't know if there's an
extension involved, or it's an FB quirk or what. But if others tell you
you're crazy and that your code works fine, at least you have another
eye-witness that there is some (intermittent) problem here.

- Rick