Hi,
i would like to have an event fired in jquery, if the validators of my page change their states.
This is my usecase:
- In an Adressform the Validators all are hidden.
- If i submit the form, the get displayed.
- Now i want to fire a jQuery function, which renders all rows (not the inputfields, but their parents) with a red border (means add a css class)
- if i now change the field and the validator hides i also want to hide the border around the input's parent
i don't want to have a timer checking every 100ms the displayed validators (which would work perfectly), but i want to listen only to the show/hide events of the validators
any ideas, how i can add a listener to the change events of a validator?
regards Christoph