0 Replies Latest reply on Jan 16, 2009 4:24 AM by Chrissu13

    Javascript keyCodes

    Chrissu13
      Hello,

      I don't know whether this is the right place for my question, but I just found out that AIR doesn't recognize my javascript key code events (non-application sandbox). I use prototype which normally doesn't make any problems in other browsers, e.g.

      Event.observe("product_search", "keypress", function(event)
      {

      if(event.keyCode == 27) // esc
      {
      alert("escape");
      }
      });

      I would be gladful for some advice,
      Chrissu