Here's an example of displaying the datepicker below a text field:
Date 1:

And here's an example of displaying it below the button that was clicked:
Date 2:

And here's an example of displaying the resulting value with a date format of dd.mm.yyyy:
Date 3:

The format of the datepicker (color, fonts, etc.) is easily customized using CSS. The date format can be customized using either global variables or each time you call the function that displays the date picker (see the code for more information). Enjoy.


http://www.1afm.net