$(document).ready(function(){ Uncaught ReferenceError: $ is not defined

后端 未结 8 1484
南笙
南笙 2021-02-06 23:43

Hi I am having a \"Uncaught ReferenceError: $ is not defined\" while using bellow codes

I am currently getting the following error in my log. I have been looking at the

8条回答
  •  广开言路
    2021-02-07 00:28

    I know this is an old question, and most people have replied with good answers. But for reference and hopefully saving somebody else's time. Check if your function:

    $(document).ready(function(){}
    

    is being called after you have loaded the JQuery library

提交回复
热议问题