Friday, June 1, 2012

Javascript Debugging

Instead of using alerts, it is possible to log to the firebug console (also works for Chrome).

Use "console.log(message)"

Reference: http://stackoverflow.com/questions/164397/javascript-how-do-i-print-a-message-to-the-error-console

No comments:

Post a Comment