Uncaught TypeError:Object[object object] has no method 'on'

前端 未结 3 708
生来不讨喜
生来不讨喜 2021-01-22 17:09

I m going to try this: http://jquerytools.org/demos/scrollable/index.html
But without any event trigger, I m getting below error

3条回答
  •  故里飘歌
    2021-01-22 17:45

    You need to update jQuery version.

    Because jQuery 1.6 does not have .on() it's added into new version of jQuery.

提交回复
热议问题