$('body').on('click', 'a.detail-data', function (e) {    //动态事件绑定  为body元素下所有的a.detail-data元素添加一个事件 包括新增的节点
                var href = $(this).attr("data-url");
                var url = window.location.protocol + "//" + window.location.host + href;
                bridge.callHandler('EbwaysExhibitionList', {'url': url}, function (response) {
                    console.log('log' + response);
                })
            });

 

 

$('body').on('click', 'a.detail-data', function (e) {    //动态事件绑定  为body元素下所有的a.detail-data元素添加一个事件 包括新增的节点

相关文章:

  • 2021-05-22
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
  • 2022-12-23
  • 2021-12-06
猜你喜欢
  • 2022-12-23
  • 2021-10-23
  • 2021-12-08
  • 2022-02-09
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
相关资源
相似解决方案