Use the Event.element method to find out who triggered the event, then check if you want to do your stuff or not. Gabriel Gilini
www.usosim.com.br [email protected] [email protected] On Sun, Dec 14, 2008 at 3:37 PM, Stucture_Ulf < [email protected]> wrote: > > I'm using keyboard short cuts with Event.observe "document". I do not > want these to be activated when using certain input fields on the > site. So my question is how I temporarily disable these document > shortcuts when these input fields are in focus.grateful for tips. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
