filamentgroup/jQuery-Mobile-Themed-DatePicker — Issue #5: Wrong styling for jquery 1.0
Author: kurteknikk
Created: 2012-02-03 22:21:31+00:00
State: open

This datepicker doesn't style the label & textbox well when using it with jquery 1.0, most probably because we set to degrade the date input field.

So i added the following two lines at the end of the updateDatepicker() function, the second line can be improved to effect only the label for the inputs where data-type=date.

$("input[data-type=date]").addClass("ui-input-text ui-body-c ui-corner-all ui-shadow-inset ui-focus");
$("label").addClass("ui-input-text");