jQuery Uncaught TypeError in $(selector).on()

前端 未结 1 592
滥情空心
滥情空心 2021-01-14 05:36

I am getting the following error:

Uncaught TypeError: ((jQuery.event.special[handleObj.origType] || (intermediate value)).handle || handleObj.handler).apply          


        
相关标签:
1条回答
  • 2021-01-14 06:13

    Having the event function return false fixed it because the error was somewhere during the propagation of the event and if an event returns false then event.stopPropagation() is "called".

    0 讨论(0)
提交回复
热议问题