📜  jquery click 无法处理 ajax 加载的内容 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:42.793000             🧑  作者: Mango

代码示例2
The problem is that .click only works for elements already on the page.
You have to use something like on if you are wiring up future elements

$("#LangTable").on("click",".deletelanguage", function(){
  alert("success");
});