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