ericjgagnon / wickedpicker

A simple jQuery timepicker
http://ericjgagnon.github.io/wickedpicker/
MIT License
93 stars 78 forks source link

trigger on change event #15

Closed pressmind closed 8 years ago

pressmind commented 8 years ago

hi eric, perhaps you can add the change() event...

Line: 460 in wickedpicker.js

` / * Sets the give input's text to the current timepicker's time * @param {object} The input element */ setText: function (input) { // old code //$(input).val(this.formatTime(this.selectedHour, this.selectedMin, this.selectedMeridiem, this.selectedSec));

// new code with change event $(input).val(this.formatTime(this.selectedHour, this.selectedMin, this.selectedMeridiem, this.selectedSec)).change(); },`

merci! and great work!

ericjgagnon commented 8 years ago

Added!