$ is not a function - jQuery error

前端 未结 10 1192
余生分开走
余生分开走 2020-11-29 20:41

I have the jQuery loaded fine, I\'ve quadruple-checked, though I\'m getting this error in FireBug \"$ is not a function\" and my code doesn\'t work.

Here\'s my code:

10条回答
  •  一个人的身影
    2020-11-29 20:50

    That error kicks in when you have forgot to include the jQuery library in your page or there is conflict between libraries - for example you be using any other javascript library on your page.

    Take a look at this for more info:

    • Using jQuery with other libraries

提交回复
热议问题