Knockout.js with jquery ui datepicker works everywhere except IE

前端 未结 2 2018
南旧
南旧 2021-01-20 17:16

I used a knockout.js templatescript to create a form that can be duplicated and deleted. The fiddle can be found here.

I editted the script with a litle help from SE

2条回答
  •  被撕碎了的回忆
    2021-01-20 18:06

    1. To make the code work on IE: Remove "console.log" instruction
    2. To change the date format, you can define a binding like this one:

      data-bind='datepicker: beschikkingsdatum, datepickerOptions: {dateFormat: "dd/mm/yy"}, uniqueName: true'

提交回复
热议问题