1$("#p1").mouseover(function(){ $(this).css("color","red"); }).mouseout(function(){ $(this).css("color","orange"); })
两个事件可以同时写在一起。
1$("#p1").mouseover(function(){ $(this).css("color","red"); }).mouseout(function(){ $(this).css("color","orange"); })
两个事件可以同时写在一起。