Home > Web Front-end > JS Tutorial > Solution to the problem of error reporting in jquery library or JS file under eclipse_jquery

Solution to the problem of error reporting in jquery library or JS file under eclipse_jquery

WBOY
Release: 2016-05-16 16:51:54
Original
1252 people have browsed it

After importing jquery-1.7.1 into the project, there is always a red cross. Although it does not affect the program function, it looks very uncomfortable. Moreover, there is a prompt when submitting the project code to the SVN server. I am determined to remove this red cross. Get rid of it. I basically couldn't solve the problem after searching online, and after trying various methods, I found that the following method works:

1 Right-click the project and select property.

2 Select Validation in the pop-up interface

3 Click on the Settings of JavaScript Syntax Validator on the right

4 Click Add Exclude Group in the pop-up window

5 Add the jquery js file in the Exclude Group and click OK

6 Right-click the project and click Validate

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template