Debugging

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

Common JavaScript Errors

See more about:

Here are some common errors people make in JavaScript.

Finding JavaScript bugs

See more about:

Learn:

  • 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.

Lessons

How to...


Dogs