Debugging Javascript without alert boxes

Category:

Alert boxes are the standard way for debugging javascript but firefox allows printing to console using debug() function. This way we don't need to keep adding and removing alerts to the code.

For how to enable dump() function please see :

http://www.davekb.com/browse_programming_tips:firefox_dump:txt

Comments (0)

Post a Comment