开发者

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');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜