In this demo we tag the text box below with the Name/Value/ID of datepicker, add the proper code to our pages 'Page Javascript/Head Code' block, and finally, make sure to select one of the jQuery 'Included Javascript Library' items.
We also do a little demonstration to show that Prototype JS and jQuery can happily co-exist on the same form by using Conditional Logic to Show/hide the datapicker field.