Home >Web Front-end >JS Tutorial >jQuery ReferenceError: $ is not defined Error handling method_jquery

jQuery ReferenceError: $ is not defined Error handling method_jquery

WBOY
WBOYOriginal
2016-05-16 17:34:011473browse

At first glance, it is obvious that the script library is not referenced, but the script library confirms that it is referenced.

jQuery ReferenceError: $ is not defined Error handling method_jquery

After that, put /statics/js/jquery- in Change 1.4.2.min.js to statics/js/jquery-1.4.2.min.js, and it works.

I also enabled absolute paths in IIS, but why doesn’t it work? Can't figure it out.

In addition, jquery-1.4.2.min.js can also run normally.

I don’t understand why this is happening. Fortunately, the problem has been solved, so forget it. If you have friends who have encountered this situation, you can let them know.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn