Home get time from clockpicker and then write the time to mysql
 I use https://github.com/weareoutman/clockpicker for setting time. $('.clockpicker-with-callbacks').clockpicker({ donetext: 'Done', afterDone: function() { console.log(this.value); } }) .find('input').change(function() { console.log(this.value); }); if (/Mobile/.test(navigator.userAgent)) {$('input').prop('readOnly', true); } 
 So. I need some how write the input time to mysql data base. And it must be done in afterDone: function() Please, help!