jQuery.datetextentry: Field Order

This example uses an option to override the default field order from the international-style DD-MM-YYYY to the USA-style MM-DD-YYYY. This example also demonstrates how default values in the HTML can be used to populate the fields of the datetextentry widget.

The Javascript is the same as the previous example except that the field_order option is specified:

$('#dob').datetextentry({ field_order: 'MDY' });

See also: examples of other options.