bootstrap datepicker change date event doesnt fire up when manually editing dates or clearing date

前端 未结 9 2161
离开以前
离开以前 2020-12-09 08:47


        
9条回答
  •  盖世英雄少女心
    2020-12-09 09:24

    I have this version about datetimepicker https://tempusdominus.github.io/bootstrap-4/ and for any reason doesn`t work the change event with jquery but with JS vanilla it does

    I figure out like this

    document.getElementById('date').onchange = function(){ ...the jquery code...}
    

    I hope work for you

提交回复
热议问题