Reputation: 74560
I am looking for an online jQuery validator. Not a script that will validate my forms but an online tool with which I can give it some jQuery script and have it return syntax errors and other useful information. Thanks in advance!
Upvotes: 11
Views: 22179
Reputation: 10114
Try jQuery lint. Quoting the website:
jQuery Lint is a simple script you can download and use with jQuery. It works over the top of jQuery and diligently reports errors and any incorrect usage of jQuery. It will also, to some extent, offer guidance on best practices and performance concerns.
If you really need to use it online, you can do so on jsfiddle.
Upvotes: 2
Reputation: 2923
Check out jsfiddle.net. You can paste in your Javascript, link in external libraries, and run your code through both a formatter and JSLint, which will identify any issues in the syntax of the code itself.
It also provides a preview pane to go through more thorough functionality testing.
Upvotes: 7