3 ms·
I find that with firebug, client-side javascript development is pretty comfortable. Most frustrating is debugging a script that works in Firefox, but doesn't wo
by wladimir 16y ago
I find that with firebug, client-side javascript development is pretty comfortable. Most frustrating is debugging a script that works in Firefox, but doesn't work in IE.
I haven't used JS server side so I don't have a comparison, though.
- geuis 16y agohttp://jsonlint.com http://jsonlint.com I find this immensely helpful when testing json data. There's something that happens in jQuery I ran into where $.get() on a relative json resource was being retrieved, but the callback function wasn't executing. The data was retrieved according to the network analyzer, and ajaxError() was firing, but that was it. Ran the json file through jsonlint and found some problems I needed to fix. Then it worked.
- jerf 16y ago"Most frustrating is debugging a script that works in Firefox, but doesn't work in IE." Delete the trailing comma in your object literal.
- wladimir 16y agoYeah, those are pretty easy to find using JSlint.
- beej71 16y agoClosure Compiler just errors out. "This won't run on IE, and you don't want it."
- geekuskhan 16y agoI created an account just to say amen. I can't tell you how many times this has frustrated me in IE. Seems like I would learn.