$('#musicCategoryListContainer').on('click', '.musicCategoryItem', function () {
$(this).siblings().removeClass("musicCategoryChecked");
$(this).addClass("musicCategoryChecked");
//alert($(($(this).find(".data"))[0]).attr("ItemId"));
});

  

<ul class="site-doc-icon site-doc-anim margin15" id="musicCategoryListContainer">
<!--<li class="musicCategoryChecked musicCategoryItem">
<div class="layui-anim" data-anim="layui-anim-scaleSpring">弹簧式放大</div>
<div class="code">layui-anim-scaleSpring</div>
</li>-->
</ul>

  

05-11 13:52