View Single Post
Old Oct 31st, 2006, 3:04 PM   #4
aaroncampbell
Newbie
 
Join Date: Oct 2006
Posts: 7
Rep Power: 0 aaroncampbell is on a distinguished road
I've used alerts, and console.logs all over the place, and I'm still lost. One thing I DO know is that the function isn't running twice. It only runs once. I log the adjustment (1 or -1 as expected), I run getMonth (0-11, and always as expected), I log the math (-1 - 12, and again as expected), and then I setMonth, and log getMonth...and it's OFF!

Summary: I'm still lost.

I'm attaching 3 files... the .js, the .css, and a .html that will let you test it.
Attached Files
File Type: zip calendar.zip (4.8 KB, 12 views)
aaroncampbell is offline   Reply With Quote