warning: Creating default object from empty value in /home/coredogs/public_html/modules/taxonomy/ on line 33.

Finding JavaScript bugs

See more about:


  • Syntax bugs happen when you type something the browser doesn’t understand, like alrt().
  • Use Firefox’s error console to track down syntax errors.
  • Logic errors are when you tell the browser to do the wrong thing.
  • Use alert() statements to track program execution. If alert messages are supposed to show up, but don’t, you know what code is not executing.
  • Use alert() statements to look at the values of variables.


How to...