jQuery选择器的具体使用实例参考

来源:互联网 发布:iphone照片拷贝到mac 编辑:程序博客网 时间:2024/06/05 04:35
function autoActive(){    $('#tabLabel div').click(function(){        $(this).prop('class','right_tabr').siblings().prop('class','right_tabl');        var label_id=this.id;        $('#all_box ').find('div.con_right_body[cate='+label_id+']').show().siblings().hide();    })}autoActive();
原创粉丝点击