jQuery UI datepicker change event not caught by KnockoutJS

后端 未结 13 2490
长发绾君心
长发绾君心 2020-11-22 16:16

I\'m trying to use KnockoutJS with jQuery UI. I have an input element with a datepicker attached. I\'m currently running knockout.debug.1.2.1.js and it seems th

13条回答
  •  广开言路
    2020-11-22 16:16

    I think it can be done much easier:

    So you do not need manual change handling in init function.

    But in this case, your 'myDate' variable will get only visible value, not Date object.

提交回复
热议问题