$("按下回车的控件").keydown(function(e){
var curKey = e.which;
if(curKey == 13){
$('#回车事件按钮控件').click();
}
});
火狐不兼容event
$("按下回车的控件").keydown(function(e){
var curKey = e.which;
if(curKey == 13){
$('#回车事件按钮控件').click();
}
});
火狐不兼容event