当前位置:
代码迷
>>
Web前端
>> 按回车交付
详细解决方案
按回车交付
热度:
313
发布时间:
2013-07-16 22:38:05.0
按回车提交
//Press <Enter> or <Space> key to submit login form when Submit button is focus
$("#submitBtn").bind("keypress", function(e) {
if( e.which==13|| e.which==32)
{
$(this).click();
}
});
查看全文
相关解决方案