JQuery Error: Uncaught TypeError: Object # has no method 'ready'

前端 未结 3 956
广开言路
广开言路 2020-12-15 16:15

my site is getting the error in this title in the javascript console. Google seems to say that it is because jquery isn\'t loaded, but it is definitely visible in the head

3条回答
  •  爱一瞬间的悲伤
    2020-12-15 16:41

    Apparently you are using both jQuery and Mootools and both of them do use $ as an alias to a core function. Probably the $ function which is generating this error is the Mootools function. I'd suggest you to try to write your jQuery code using jQuery instead of $ so you can confirm my point is right or not.

    Good luck!

提交回复
热议问题