jquery使用live绑定hover(out,over).

来源:互联网 发布:华师网络自助缴费平台 编辑:程序博客网 时间:2024/05/20 07:52
$(".images_list li").live({   mouseenter:   function()   {$(this).parent().children("a").hide();$(this).children('a').show();$(this).css({'border':"1px solid red"});   },   mouseleave:   function()   {     $(this).children('a').hide();$(this).css({'border':"none"});   }});

原创粉丝点击