这个写的监听问题是,当浏览器加载完成,用户自行点击增加table的一行表格,在新一行表格点击不了“规格明细按钮”,故没有继续监听。第一行表格可以点击,第二行表格点击不了。这个问题怎么解决?jquery$('.edit-CustomCaption').on('click',function(){ var el = $(this); el.parent().find('.CustomCaption-box').show();});$('.CustomCaption-close a').on('click',function () { var el = $(this); el.parent().parent().hide();});$(".CustomCaption-add").click(function(){ $(".CustomCaption-text").append("<input type='text'><br>");});
添加回答
举报
0/150
提交
取消