问题描述:

This question already has an answer here:

  • Events triggered by dynamically generated element are not captured by event handler

    5 answers

网友答案:
$(document).on("click", ".btnRemoveColumn", function() {

For dynamic elements, events should be delegated.

相关阅读:
Top