The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Only use document.write on the "initial" load of the page. You will basically write a new document if you use document.write afterwards. Use innerHTML like stereofrog showed or use the DOM to manipulate whatever element.

Thanks for that. I've been trying to get this for some time. Is there an elegant way to make that display in minutes/seconds? Since this closely resembles the goal I'm trying to achieve, I thought I'd ask before pulling anymore hair out. =)

What I'm trying to do is print the countdown textually in the forms:

There are 3 minutes and 0 seconds left.
There are 5 minutes and 1 second left.
There are 1 minute and 28 seconds left.
There are 32 seconds left.
alert('Done');