show monthNameShort in datepicker
I'm using datepicker of开发者_如何学Go jquery ui now it show the month names like "March" I want show them in monthNamesShort format like "Mar" How can i do?
thanks
Use an uppercase 'M' in the month part of the format string.
how can i format jquery datepicker as "25-JAN-2009"
Edit
I'm sure there is a nicer way, but what about manually giving it the month names?
$('#member_dob').datepicker({
monthNames: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
});
精彩评论