shorter:

$('.required').siblings().not('input').append('*');

On 14 Okt., 15:05, skankster <[EMAIL PROTECTED]> wrote:
> How about:
>
> <script type="text/javascript">
>    $(document).ready(function() {
>       $('.required').parent().children().not('input').append('*');
>    });
> </script>
>
> 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, 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 with jQuery, but... how?
>
> > I forgot to say, that the star should appear at the end of the content
> > of each label, that fits the conditions.
>
> > Any suggestions?.

Reply via email to