使用 on方法 $("#id1").on("click","#id2",function(){}) 这里要注意的是#id1必须是原来就存在的! id2 是动态生成的且包含在id1内 转载于:https://www.cnblogs.com/huhuixin/p/7356951.html