'$' was used before it was defined.
/*global alert: false, console: false, jQuery: false */
Add these options to your comments:
/*jslint browser: true*/ /*global $, jQuery, alert*/
If you want to use variables provided by other scripts, then you need to say so:
/*global $ */
For JSLint In Netbeans IDE go to:
JSLint tab -
Text area under "Predefined (, separated)":
Now JQuery variable $ is considered defined everywhere in code.
©2020 All rights reserved.