// 元素获得焦点时,带事件。
$("input").focus(function(){
//$("input").css("background-color","#FFFFCC");
});
//元素失去焦点时
eg:$("#id").blur();
$("#id").blur(function(){
});
//--------------------------------------------------------------------------
$(document).keydown(function (event) {
// 回车绑定
if (event.keyCode === 13) {
}
});