[jQuery] Re: Validation and Tabs plugins compatibility

2009-03-20 Thread Jörn Zaefferer
I've released an update to the validation plugin, including a demo showing integration with jQuery UI tabs: http://jquery.bassistance.de/validate/demo/tabs Jörn On Tue, Jul 8, 2008 at 10:56 PM, peace4theapes wrote: > > Diego, > > Thanks for the reply. I tried this idea but it threw up another >

[jQuery] Re: Validation and Tabs plugins compatibility

2008-07-08 Thread peace4theapes
Diego, Thanks for the reply. I tried this idea but it threw up another interesting problem. I was wondering if you could throw some light on it. When the validation plugin adds an error class, it does not remove it once the form is validated. Therefore when I switch to the tab with the error cla

[jQuery] Re: Validation and Tabs plugins compatibility

2008-07-03 Thread Diego A.
Hi, This is just an idea (which I haven't checked) but since you have JS experience I'm just gonna throw it at you. The validation plugin adds an 'error' class to all problem fields. You could very quickly loop through each tab, look for an error and (if found), change the focus to that tab. some