$(document).on('click','.delete_params',function (e) {
console.log(e)
$(this).parent('.add_params_tr').remove();
})
试了试,必须以上述格式绑定点击事件
$('.delete_params').on('click',function (e) {
console.log(122121)
$(this).parent('.add_params_tr').remove();
})
这样 依旧无效果
$('.delete_params').live('click',function () {
console.log(122121)
$(this).parent('.add_params_tr').remove();
})
要求1.9版本 高版本使用不来,不建议