标签:class bind com keyword nbsp param key code string
$(‘input‘).bind(‘keyup‘, function(event) {
if (event.keyCode == "13") {
$(‘button‘).click();
}
});
pc端监听回车键
原文地址:http://www.cnblogs.com/xuyuanlong/p/6590740.html