Well i've tried that one off course, but the problem is that i don't
know, how much markup comes before the <div class="formError">

So i tried this as well;
jQuery('.formError:first', this).prev(':input')

but that doesn't work, even though the docs state it should work.


On 13 jul, 11:30, "Juha Suni" <[EMAIL PROTECTED]> wrote:
> Gilles (Webunity) wrote:
> > Given this query:
> > jQuery('.formError:first', this);
>
> > I basically have this question:
> > How can i find the first input element, before an object?
>
> How about
> jQuery('.formError:first', this).prev();
>
> That should do the trick.
>
> --
> Suni

Reply via email to