jQuery: clicking nested elements

前端 未结 5 1786
粉色の甜心
粉色の甜心 2021-01-04 10:13

I have the following markup

  1. @qItem.CategoryText
5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-04 10:43

    $(document).on("click", ".deleteIcon", function() {
      doActionB();
    });
    

    This method is the only one I found to work with nested elements, especially those generated by a library such as Pivottable (https://github.com/nicolaskruchten/pivottable)

提交回复
热议问题