[jQuery] Re: Validation - Adding Valid class

2009-02-13 Thread Jon
Thanks Rob but i'm not sure i fully understand. Do i do this within the success function? Or is there somewhere else i can do this like say: invalid: function(element) { $(element).parent("span").children("input, textarea").removeClass ("Valid") } That's where i'm confused - where exactly do

[jQuery] Re: Validation - Adding Valid class

2009-02-13 Thread RobG
On Feb 14, 8:42 am, Jon wrote: > With the validation i have managed to make it add a class called > 'Valid' to the label that the validation adds. However i want to make > it add a class (same name) to the textbox too. I've managed this by > doing: > >     success: function(element) { >