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
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 ;-),
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!!
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
4 matches
Mail list logo