Ralf Sternberg schrieb:
> Hi folks,
>
> is there a chance to keep the browser from processing the Escape key?
>
> By default, browsers interrupt a currently running request when Escape 
> is pressed. We have a case where Escape triggers a request, when Escape 
> is pressed twice (for whatever reason), the second key press stops the 
> request that the first one issued. Any ideas?
>
> Thanks in advance,
>    Ralf
>
>   
Does a "preventDefault()" call in the key event handler on the event 
object help? Normally this should prevent the default browser behavior. 
Unfortunately some events are not preventable and the browser always 
performs its default action. Maybe the escape key is such an exception.

Best Fabian

-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to