How to get value of selected date with jquery datepicker

前端 未结 1 1924
执笔经年
执笔经年 2021-01-26 16:02

I\'ve been using the jQuery datepicker quite successfully for some time now. But, since I\'ve began to add more features to my site, I need to expand on this function a bit. I n

1条回答
  •  -上瘾入骨i
    2021-01-26 16:38

    try like

    $('.selector').datepicker({
       onSelect: function(dateText, inst) { ... }
    });
    

    check this jquery.datePicker example: datePicker into selects

    0 讨论(0)
提交回复
热议问题