input 回车 事件响应

 input 回车 事件响应

$(document).ready(function()
{
$(document).keypress(function(e){
var curKey = e.which;
if(curKey == 13)
{
pushButton();
}
});
});

  

  

posted @ 2011-08-04 12:04  wangkangluo1  阅读(2638)  评论(0编辑  收藏  举报