我想使用一些 jQuery 来制作一个粘性导航栏,但我收到了错误
ERROR: ‘$’ is not defined. [no-undef]. ERROR: ‘document ’ is not defined. [no-undef]
ERROR: ‘$’ is not defined. [no-undef].
ERROR: ‘document ’ is not defined. [no-undef]
并且代码不起作用。任何人都可以帮助我为什么会出现这些错误以及如何解决它?
您必须在 web 中和脚本之前包含 jquery 库。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
点击生成二维码
我来说两句