jq多个相同元素对某一个元素进行操作
//对所有.deptTransfer-li元素遍历
$('.deptTransfer-li').each(function(index,dom){
//对所有.deptTransfer-li元素绑定点击事件
$(this).bind("click", function () {
//你所需要进行的操作
var txt=$(this).html();
alert(txt);
})
})

浙公网安备 33010602011771号