$ is undefined error in jquery

前端 未结 6 1275
眼角桃花
眼角桃花 2020-12-11 02:56

I am getting this error while using twitter bootstrap. I didn\'t get this error when using it in html. I converted it into a wordpress theme, and now i am getting this error

6条回答
  •  温柔的废话
    2020-12-11 03:57

    You're loading the scripts in the wrong order. Load jQuery first, otherwise it won't be available for the bootstrap script.

提交回复
热议问题