我动态加载的数据
效果是这样子
但是我执行事件时候,却执行了两次
------------------------------------------------------------------------
我发现静态时候是没问题的
(第一种会执行一次,第二种会执行2次,意思第二种写法是不支持的)
$(".tab_left_div .select_dom").on('changed.bs.select',function(e) {
console.log( "2" );
});
$(".tab_left_div").on('changed.bs.select'," .select_dom",function(e) {
console.log( "3" );
});
------------------------------------------------
但是我动态添加只能这样子写呀
$(".tab_left_div").on('changed.bs.select'," .select_dom",function(e) { });
请问我这个怎么处理呀