PDA

View Full Version : Date.getDayOfWeek() overwrites entire document body



javabugz
5 Dec 2006, 9:33 AM
if one takes a look at this function, there is a line:

document.write(then)

which kills the whole document once it being updated via innerHTML by script. I don't think the code should be there.

tryanDLS
5 Dec 2006, 9:48 AM
That's strange - it looks like it's debug code that's been there for at least a month :(

jack.slocum
9 Dec 2006, 7:18 AM
removed.