Uncaught TypeError: ((x.event.special[i.origType] || (intermediate value)).handle || i.handler).apply is not a function
$('body').on('click', '.my-button', foo.bar2);
出现上面的报错信息是由于
我打字时,写成了
$('body').click('click','.delete_item',function(e){})
当我打算输入时:
$('body').on('click','.delete_item',function(e){})