1. Home
  2. Computing & Technology
  3. JavaScript

Date Selector

2. The Script

clr gif
More of this Feature

Introduction Add to Form

The first thing you need to do to install the date selector is to select the code from the text box below (there is a highlight all button beneath it to make this easier) and copy it into a file called calendar.js.

You next attach the script into your web page by adding the following code into the head section of your page.

<script type="text/javascript" src="calendar.js">
</script>

The next step is to add it to the form

Introduction | The Script | Add to Form
Explore JavaScript
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.