How do I implement this code on the page?

This page,, gave the following code:

var options = {
  date: new Date(),
  mode: 'date'
};, function(date){
  alert("date result " + date);  

However, what do I put in the body to implement this code?

There’s an implementation demo available for you to experiment with over at

Thanks, but that’s using Jquery. Too much excess baggage to include for a popup.

You may notice that his plugin uses absolutely no jQuery at all. What does use jquery, is the datepicker part of the demo.

Moving away from jquery though, further details on implementation can be found at

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.