blog已經轉移至github,大家請訪問 http://qaseven.github.io/
jQuery 事件參考手冊
顯示按了哪個鍵:
$("input").keydown(function(event){ $("div").html("Key: " + event.which); });
event.which
親自試一試
which 屬性指示按了哪個鍵或按鈕。
posted on 2014-04-08 16:13 順其自然EVO 閱讀(122) 評論(0) 編輯 收藏 所屬分類: jQuery
Powered by: BlogJava Copyright © 順其自然EVO