Javacript doesn't work in Firefox
Hello bros and sis's,
I'm a newbie. I've got this function that renders the current calendar year in a browser. In IE, the year "2011" shows up, but nothing shows up in Firefox 3.6.17, wonder if someone could help me figure out why and how to fix it.
var _today = new Date();
var _year = _today.getYear();
if (_year < 200) _year += 1900;
currdate = new Date;
Thanks in advance. [Pardon me for the typo in the title of this post.]