.change() question flexbox and validation
Hello all
I am using the flexbox and validation plugins. They work well together. However, I'm trying to manually validate the flexbox hidden textfield without success.
code:
- $('#incubation_location_input').change(function(){
- alert($(this).val());
- });
That only fires when the text is being changed by the keyboard. I would like it to fire when the text is being changed dynamically. The incubation_location_input is a hidden field where its value changes by clicking the value from the flexbox dropdown. So, I'm assuming the change code that I have will not work because the value is not getting changed from the keyboard, am I wrong? How do I listen to the #incubation_location_input when the value is getting changed dynamically?
-Thank You
Rich