views:

145

answers:

3

Does anyone know of any JQuery syntax validators or checkers? The braces are killing me.

+1  A: 

It's JavaScript. Any IDE with JavaScript syntax checker should do. NetBeans has one.

Mchl
So has Eclipse and KomodoEdit.
Felix Kling
Visual Studio 2008 / 2010 does too.
Rafael Belliard
+5  A: 

Check out JSLint for validating JS code:

http://www.jslint.com/

Warning: JSLint will hurt your feelings

nicholasklick
and JS lint is great with making your code look proper too. Just define the global variable $ and JSLint will check your JS code.
Bob Fincheimer
+1  A: 

JSLint and a live demo site JSFiddle will give you the ability to make sure something is valid and runs properly.

As said, most IDE's will validate your Javascript. Eclipse, Netbeans, PHPEd and so on all have javascript checkers.

Paul Dragoonis
i have heard of jslint, but not jsfiddler
chobo
JSfiddler allows you to select a JS library such as jQuery, input some HTML and write some javascript to execute against your HTML.
Paul Dragoonis