Most likely, the tool that you are using sets the value with jQuery's val
method or as you have guessed, sets the value directly to the DOM element, non of which will fire the change event of the INPUT element. Furthermore, setting the value to the INPUT element with the val method will break the mask of the widget and the only solution for fixing it back would be by re-initializing it again through the setOptions
method. If you can manage to handle some event that fires after the tool changes the value, you can use the following to fix the mask and set the correct value:
maskedTextBox = $input.data(
Here is a thread that could prove helpful:
Hope this helps.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI