Auto-Enter Current Date

By Jean May on Jan 4, 2008

General

This script will enter the current date in a read only form field. Good for when you want to collect the current date but want to make sure it’s formatted properly.


Notes

  • Created by: Jean P. May, Jr.
  • Web Site: http://www.wideopenwest.com/~thebearmay
  • Posted: January 4, 2008

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: autoEnterCurrentDate.js


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Comments

Blog comments powered by Disqus