It is just remove the doc type and month script will work normally;.
What´s wrong ?
.............................................employed doctype...............
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
hemebond
02-04-2005, 04:22 AM
XHTML does not support document.write(). Stick to HTML if you want to use this method or want to support Internet Explorer (which doesn't support XHTML).