Enterユーザーがテキストボックスのキーを押しているときに、フォーカスをボタンに設定しようとしています。しかし、それは機能していません。InternetExplorer8ブラウザを使用しています。私は何かが足りないのですか?
$("input.Box").live('keydown', function(e) {
if (e.keyCode == 13) {
e.preventDefault();
$("#button").focus(); // Not working?
}
});