Jquery datePicker Removed selected date class
I want to re开发者_运维百科move class for selected date when form submit button is clicked because when a date have selected I need to reset datePicker without any selected date.
I tried
$('.weekday').removeClass('selected');
But it's not working. Thanks.
if you want to set the datepicker value empty then
$('.weekday').val("");
I don't know about you want,but I think you can run this
$('.weekday').val('');
it will remove selected style from your date picker
You can try:
$('.ui-state-default').removeClass('ui-state-highlight');
精彩评论