Posted by Martin Webb on June 17, 1998 at 17:26:36:
In Reply to: Default to Today's Date. posted by Rachel on June 17, 1998 at 16:15:00:
: I would like to have a text box with today's date as the default value in it.
var today = new Date ();
document.write ('<FORM><INPUT TYPE="TEXT" VALUE="' + today + '"></FORM>');