jquery-datepicker-skins
jquery-datepicker-skins copied to clipboard
Using the skins together with Modernizr
Hi, I've been trying to make your skins work on a site where I use Modernizr to attach a datepicker to every date input. Unfortunately, it doesn't seem to get picked up. The CSS of both jQuery and the skin are included and this is the Modernizr code:
if (!Modernizr.inputtypes.date) {
$('input[type=date]').addClass('datepicker ll-skin-latoja');
$('input[type=date]').datepicker({
inline: true,
showOtherMonths: true
}
);
}
Is there anything obvious I'm missing or does it just not work like that with these skins?
The skin classes should be added to an elements that wraps the input (as in the input example).