From: wilq on
On Feb 2, 10:52 am, Asen Bozhilov <asen.bozhi...(a)gmail.com> wrote:
> wilq wrote:
> > Adding an overlay should fix your problem as Jorge pointed out... Have
> > you tried that?
>
> How can you stop access keys with overlay? And i can't understand, why
> OP want to do this?
>
> function clickHandler()
> {
>   if (someSpecialCase)
>   {
>     return;
>   }
>
>   //do something
>
> };
>
> He can check for special case in execution context created when
> invokes handler function.

Didnt he asked to stop onclick, not key events ? As he pointed out, he
figured out already checking a special case and this didnt work in his
case?