Solution to jquery error in eclipse: 1. Remove the hook of eclipse related settings; 2. Find the [.project] file and delete the relevant parts; 3. Delete the original js file and need to copy it again. share.
The operating environment of this tutorial: windows7 system, jquery3.2.1&&Eclipse IDE 2020 version, DELL G3 computer.
Recommended: jquery tutorial
Solution to jquery error in eclipse:
1. eclipse settings:
window->preference > Javascript > Validator > Enable Javascript Sematic validation in Errors/Warnings
Remove the previous hook;
2. .project file: Delete the following part
[html] view plain copy print ? <buildCommand> <name>org.eclipse.wst.jsdt.core.javascriptValidator</name> <arguments> </arguments> </buildCommand>
3. Delete the original js file and make a new copy! Because the previous copy has been incorrectly marked by the project
Related free learning recommendations: javascript (video)
The above is the detailed content of How to deal with jquery error in eclipse. For more information, please follow other related articles on the PHP Chinese website!