0

Hello i used jquery clockpicker it's work fine but when i dynamic added some element and then re initialize clockpicker on that element it just blink and gone.

i made this function for initialize clockpicker

function initClockPicker() {
      $('.time').clockpicker({
        donetext: 'Done',
        default: "now",
        placement: 'bottom',
        align: 'left',
      });
}
initClockPicker();

and i also call this function after clone div which has input element with class 'time'

and i used clockpicker cdn => https://cdnjs.cloudflare.com/ajax/libs/clockpicker/0.0.7/jquery-clockpicker.min.js

0 Answers0