public static bool IsKey(jQueryEvent e, Key keyCode) { return (bool)Script.Literal("e.which === {0}", (int)keyCode); }