linking jquery in html

前端 未结 5 1925
既然无缘
既然无缘 2020-11-27 17:21

I can\'t manage to successfully link jQuery to my html. I have made the most simple jQuery code possible just so I know it\'s right, and I\'ve tried everything I can think o

5条回答
  •  独厮守ぢ
    2020-11-27 18:12

    I had a similar issue, but in my case, it was my CSS file.

    I had loaded my CSS file before the JQuery library, since my jquery function was interaction with my css file, my jquery function wasn't working. I found this weird, but when I loaded the CSS file after loading the JQuery library, it worked.

    This might not be directly related to the Question, but it may help others who might be facing a similar problem.

    My issue:

        
        
        
        
    

    My solution:

        
        
        
        
    

提交回复
热议问题