sisyphus
sisyphus copied to clipboard
Trigger change event
Maybe I'm missing something but if I have a change event handler the restoreFieldsData function does not invoke the event.
Suggest adding:
field.trigger('change');
at the end of this function.
Thanks just what I needed -- creating a custom control with a hidden textbox to traverse the value needs a to know to update the control, onchange makes sense but this is a know issue that change is not called when done in code. This worked for me. if we don't want it as standard perhaps add it as an option.
Question though, is trigger() supported on all the browsers?