こんにちは、ページに剣道カレンダーとテキスト ボックスがあります。カレンダーで任意の日付を選択すると、その値がテキスト ボックスに表示されます。(日時ピッカーのように)。入手する方法はありますか?
ここに私のサンプルコードがあります
<div id="calendar"></div>
<input type="text" name="txtdate" id="txtdate"/>
<script>
$(document).ready(function() {
// create Calendar from div HTML element
$("#calendar").kendoCalendar();
});
var cal = $("#calendar").data("kendoCalendar");
cal.bind("change", function () {
// Here I wanted to bind the selected value to my text box (txtdate).
});
</script>