亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

jQuery reference error - Stack Overflow
歐陽(yáng)克
歐陽(yáng)克 2017-07-05 10:40:02
0
2
996

I want to import the jquery package, but the browser reports an error. What is the reason?
**Uncaught ReferenceError: $ is not defined

at a.js:1

(anonymous) @ a.js:1**

歐陽(yáng)克
歐陽(yáng)克

溫故而知新,可以為師矣。 博客:www.ouyangke.com

reply all(2)
三叔

a.js depends on jquery. You need to introduce jquery first and then a.js. Take a look at the page to see if it is in this order.
Additional explanation I tried it on chrome and it worked.

曾經(jīng)蠟筆沒有小新

$ is not defined, which means it has not been introduced successfully. Pay attention to the js reference order, jQuery should be placed first

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template