Validate dynamic inputs

Validate dynamic inputs

Hi.

First of all, the code : http://pastebin.com/LatweLuN
And the page : http://nicolasrio.fr/test2.html

I use the jquery.validate plugin.

On the example page, click 'Add a horse' twice (two rows should be added to the table), then click on validate. As you should see, only the first of the generated inputs gets red by getting the error class, not the following.

Then, put the focus inside the second generated input and then trigger the blur event by clicking anaywhere else on the page : the input gets the error class and becomes red !

So, how can I get all the generated inputs validated at the same time ?

Thanks in advance for your help : it's getting on my nerves :)