перехватить нажатие клавиши (jquery)http://softtime.ru/forumперехватить нажатие клавиши (jquery)http://softtime.ru/forum/read.php?id_forum=4&id_theme=81158#post483336Сделал так, то что нужно "html" "head" "title"jQuery"/title" "script type="text/javascript" src="http://yandex.st/jquery/1.6.1/jquery.min.js" ""/script" "script type="text/javascript"" // Назначить обработчики события click //...перехватить нажатие клавиши (jquery)Sun, 12 Jun 2011 15:43:51 +0300olsперехватить нажатие клавиши (jquery)http://softtime.ru/forum/read.php?id_forum=4&id_theme=81158#post483335Хм... можно привязать обработчик к "body" "html" "head" "title"jQuery"/title" "script type="text/javascript" src="jquery.js" ""/script" "script type="text/javascript"" $(document).ready(function(){ $("body").bind("keydown", function(event){ alert(String.fromCharCode(event.which)); });...перехватить нажатие клавиши (jquery)Sun, 12 Jun 2011 15:42:19 +0300cheopsперехватить нажатие клавиши (jquery)http://softtime.ru/forum/read.php?id_forum=4&id_theme=81158#post483333Это не то. я такое же на оф. сайте прочитал. Имею ввиду что скрипт не должен зависеть от id_edit. Пока...перехватить нажатие клавиши (jquery)Sun, 12 Jun 2011 15:40:00 +0300olsперехватить нажатие клавиши (jquery)http://softtime.ru/forum/read.php?id_forum=4&id_theme=81158#post483326Можно начать отталкиваться от следующего скрипта "html" "head" "title"jQuery"/title" "script type="text/javascript" src="jquery.js" ""/script" "script type="text/javascript"" $(document).ready(function(){ $("#id_edit").bind("keydown", function(event){ alert(String.fromCharCode(event.which)); });...перехватить нажатие клавиши (jquery)Sun, 12 Jun 2011 15:20:16 +0300cheopsперехватить нажатие клавиши (jquery)http://softtime.ru/forum/read.php?id_forum=4&id_theme=81158#post483320Например пользователь нажимает клавишу, а в ответ выходит алерт - Вы нажали клавишу - Gперехватить нажатие клавиши (jquery)Sun, 12 Jun 2011 15:03:00 +0300ols