validate and tooltip side effect

validate and tooltip side effect

Hi Team,
I have all but finished my bootstrap form now, which includes 3 plugins: validate, datepicker and tooltips.
I am very happy that individually they do what I want, but I have one issue left to solve when I run all 3 together.
It seems that the error message <span> appended by validate does not get removed or updated correctly if I validate the error inout field more than once. I end up with <spans> being added after the original down the page.

I am guessing this is because the tootip is introducing a div into the DOM heirarchy and the test in the validate code "if ( !element.next( "span" )[ 0 ] )" is not seeing the inserted field correctly.

At this point I'm stumped. I don't really understand the array reference and have no idea how to refer to the span correctly?

Can anyone help please?

Thanks,Paul