基础事件:
mousedown( fn )鼠标按键被按下;
mouseup( fn )某个鼠标按键被松开;
mousemove( fn )鼠标被移动;
mouseover( fn )鼠标被移到某元素之上 ;
mouseout( fn ) 鼠标从某元素移开 ;
mouseenter( fn )当鼠标指针进入(穿过)元素时;
mouseleave( fn )当鼠标指针离开元素时;
键盘事件:
keydown( ) 某个键盘的键被按下;
keyup( )某个键盘的键被松开;
keypress( )某个键盘的键被按下或按住;
keyCode()可以获取键盘按下的键码;