Whoops.... too soon to celebrate. It worked only in Firefox 2 but NOT
on IE 6 (Windows XP). I'll try to fiddle with the code and see if I
can make it work in IE.

On Aug 24, 4:58 pm, Feed <[EMAIL PROTECTED]> wrote:
> Yes! Jörn, thank you very much for your amazingly quick reply, it
> worked :)
>
> And sorry for taking your time with this noob question.
>
> On Aug 24, 4:52 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
>
> > Feed schrieb:> What I need is this:
>
> > > [IMG]http://i117.photobucket.com/albums/o71/feed_turbo/Misc/
> > > jquery_validation.gif[/IMG]
>
> > > I've tried several combinations but I can't achieve what I want. In
> > > theory this code should work, shouldn't it?
>
> > >  errorPlacement: function(error, element) {
>
> > > error.appendTo( element.parent("td").next("td").next("td").next("td") );
> > >  }
>
> > next() works only on a single tree branch, it can't "hop" to the next
> > table row. The first next("td") in your approach won't find any element,
> > because there is none in that row anymore. You need to traverse to the
> > parent row, to the next row, to the second td. This should do the trick:
>
> > errorPlacement: function(error, element) {
> >         error.appendTo( element.parent().parent().next().find(">td:last") );
>
> > }
>
> > Let me know if you need any other help with the plugin. And if the above
> > actually works I'll add an example to the docs, let me know what you
> > find :-)
>
> > -- Jörn

Reply via email to