[jQuery] jQuery.validate.js - validate - Add height to containing DIV on validation

[jQuery] jQuery.validate.js - validate - Add height to containing DIV on validation


Hi,
I am fairly new to jQuery and am using the validate plugin with
success.
But,
my form is inside a relatively positioned DIV with height and width.
When my form is validated and the error class is appended, the form
elements overflow the containing DIV.
What I would like to do is change the height of the containing DIV
when the form is validated. No need to get complicated, I would be
happy to add a height that is the max needed (e.g. the amount needed
if every form element were skipped).
I appreciate any help.