$(document).keypress(function(event) {
// +
if (event.which == 43) {
// ...
}
}
HTML
<input type="button" value="+" name="plus">
当我点击按钮时,如何使用 + 触发keypress方法?
$('input[name="plus"]').click(function(){
// ??? How to go further ???
})