$(".select_item span").live({
   mouseenter:
   function()
   {
      $(this).addClass("hover");
   },
   mouseleave:
   function()
   {
      $(this).removeClass("hover");
   }
});

 注意:jquery1.9以上版本不支持live,新方法为on

相关文章: