按回车后调用CommonEvent
function PressEnterEvent(eve) {
var currKey = 0, e = e || event;
currKey = e.keyCode || e.which || e.charCode;
if (currKey == 13) {
CommonEvent(eve);
}
if (currKey == 46) {
$(this).val("");
CommonEvent(eve);
}
}
时间: 2024-10-01 03:41:11