The clear button has been removed.

As for examples, are you more concerned about how to add a DatePicker in general, or how to style it to look just like your example?

You can set an icon trigger by passing the option buttonImage: 'images/calendar.gif' into .datepicker() (wrap it in curly braces).  You can probably get the fully written out date (ie. 'January 5, 2010') using DatePicker's formatDate() utility function or the altField option.

edit:

To update the departure date as the arrival date is changed, you'll have to use an onSelect option when you enable the arrival DatePicker:

$("#arrival").datepicker({
    onSelect: function(dateText, inst) {
        // calculate newDate
        $("#departure").datepicker("setDate", newDate);
    }
});


newDate can be a number of days from now (like +7) or a formatted date string.  I think the best way to figure it out would be to track the original value of the departure date and determine how many days forward or backward the user changed their selection by, then use that number to determine the new arrival date by comparing to the old arrival date.  It's tracking a lot of stuff manually, but I'm not sure of a better way.  (ick)

Is jquery datepicker easily capable of doing this?
I'm currently experimenting with OpenCV's calibration toolbox and I'm using a default checkerboard pattern to calibrate a camera. I want to use larger checkerboard blocks so that I can stand farther away from the camera without affecting OpenCV's ability to detect the corners.

As I understand it, OpenCV is pre-programmed with default block-size values. My question is: is there a way to change this default block-size value in the code? And where would I change this? TIA
