为动态生成的元素绑定监听事件

$('body').on('input','input.spare_hard_num,input.hard_cost',function(){
alert(123)

});
posted @ 2019-12-06 18:52  $DeBuger  阅读(595)  评论(0编辑  收藏  举报