MPAA | Western Union | WoW Gold | Mortgage Loans | Mobile Phones
Javascript question [Archive] - PCMech Forums

PDA

View Full Version : Javascript question


Force Flow
01-08-2003, 06:30 PM
I somewhat new to javascript and was wondering how to get this javascript code working:

document.write('Copyright © 1998-' +
(new Date()).getFullYear());

I know the code ends with a < /script > (without the spaces), but what's the one that starts it?

Force Flow
01-08-2003, 06:51 PM
Never mind. I just figured it out. ;)