JavaScript Resources

Unobtrusive JavaScript Date Chooser
 



Unobtrusive JavaScript Date Chooser

Description:

After searching in vain for an unobtrusive, lightweight javascript datepicker, I decided to write my own. It's flexible
enough to do what I need, and doesn't take much effort to get it working.

So far I've tested it using IE 5, IE 5.5, IE 6, IE 7 beta 2, Firefox 1.0, Firefox 1.5, Opera 8, and Opera 9. Safari
should work, but I have no way to test it at the moment. Let me know if there are any issues with Safari or other
untested browsers.

To get started with DateChooser, download it here. The included readme.html file contains a few helpful examples. 

There are a few advantages to using my DateChooser over other javascript datepickers:

  • The HTML for the calendar is standards-compliant.
  • The calendar appears in the same window as the input field(s). It doesn't annoyingly pop up in a new window.
  • It has no hard-coded styles; apply your own .css file to customize DateChooser's appearance.
  • Return values are flexible, using patterns borrowed from PHP's date() function.
  • It doesn't pollute the global namespace.
  • It uses unobtrusive, warning/error-free javascript.

Finally, and unlike some datepickers I've found, it's free. Feel free to use it wherever, and for whatever purposes
you like.

Browsers Compatibility:
IE, FF, Opera, Safari.
 Download





more Resources Scripts: Forms, Text, Buttons, Games, Calendars, Miscellaneous, Utilities, Clocks,
Navigation, Windows, Cookies, Special Effects, Counters, Passwords, DHTML



[Home] [Templates] [Blog] [Forum] [Directory] JavaScript Resources - Unobtrusive JavaScript Date Chooser