[jQuery] Re: Find labels for input with given class

2008-10-14 Thread Radoslaw Janusz
On 14 Paź, 15:10, skankster <[EMAIL PROTECTED]> wrote: > shorter: > > $('.required').siblings().not('input').append('*'); Well... for me it works like a charm!! Thank you, Skankster!!

[jQuery] Re: Find labels for input with given class

2008-10-14 Thread skankster
shorter: $('.required').siblings().not('input').append('*'); On 14 Okt., 15:05, skankster <[EMAIL PROTECTED]> wrote: > How about: > > >    $(document).ready(function() { >       $('.required').parent().children().not('input').append('*'); >    }); > > > Regards, > Dirk > > On 14 Okt., 14:34, R

[jQuery] Re: Find labels for input with given class

2008-10-14 Thread skankster
How about: $(document).ready(function() { $('.required').parent().children().not('input').append('*'); }); Regards, Dirk On 14 Okt., 14:34, Radoslaw Janusz <[EMAIL PROTECTED]> wrote: > Radoslaw Janusz napisał(a): > > > Hello , oh allmighty group ;-), > > I have a number of forms,

[jQuery] Re: Find labels for input with given class

2008-10-14 Thread Radoslaw Janusz
Radoslaw Janusz napisał(a): > Hello , oh allmighty group ;-), > I have a number of forms, which I validate with 'validate' plugin'. > For all the required inputs I use 'required' class. The customer wants > to have all the required fields of the forms marked with stars. > I want to have it done wi