jquery hover事件 $(function(){ $(selector).hover(function(){},function(){}) }) 注:当鼠标移入的时候执行第一个函数,当鼠标移出的时候执行第二个函数