JavaScript Logging

Today I learned an interesting feature of JavaScript along with Firebug. Instead of using “alert” to display some trace information, you can use “console.log (“my message”);”. Together with the free web development tool Firebug, this information can then be shown in Firebug’s console window. This is extremely helpful when trying to debug some AJAX code.

Please visit this website to get more information.

Saved my day 😉

Leave a comment

Your email address will not be published. Required fields are marked *