1. I use Notepad++ to type the code. I have noticed that sometimes it doesn't highlight certain keywords, and this will cause errors in the browser debug console (I primarily use Chrome). For instance, on this line:
var currentTime= calendarDay.getTime();
var is usually turned blue and italicized. It doesn't always happen, and I have to delete it and retype it (just the word var).
2. I remeber seeing somewhere that I should not use the Tab key, only spaces. Is this true?
3. I have tried IE, Chrome, Safari, and Firefox (with the Firebug extension). Is there anyway to get a more descriptive reason for an error. For example, it might say:
Uncaught ReferenceError: yearly is not defined
when the problem is a mispelled variable name somewhere in the yearly function.
I also have an issue with some particular code, but in the interest of brvity, I will start a new thread. Thanks in advance!