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

前端 未结 3 751
生来不讨喜
生来不讨喜 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:48

    JQuery .on method was added in 1.7. You need to update your JQuery as from your screenshot you are currently using 1.6

    http://api.jquery.com/on/

    Once downloaded from here, change the below where marked

    
    
    
     
    
      
    

提交回复
热议问题