jsCalendar for dummies
Don't want to read the doc or need a calendar quickly? Just follow the next steps!
- Download theses 3 files : prototype, calendar, calendar-for-dummies
- Put it in the "javascripts" folder of your web directory (create it if needed).
-
Copy/paste the following lines inside the <head> tag of your html page:
<script type="text/javascript" src="javascripts/prototype.js"></script> <script type="text/javascript" src="javascripts/calendar.js"></script> <script type="text/javascript" src="javascripts/calendar-for-dummies.js"></script>
-
Add the class "datePicker" to all elements of which you want a calendar, like that:
<input type="text" name="birthday" class="datePicker" />