JsDatePick's Javascript Calendar usage example using the jQuery library
Look at the comments on the HTML source to fully understand how this very simple example works.