flynny
asked on
Change CssClass JQuery ASP:Checkbox
Hi all.
I have an ASP:Checkbox which I want to change the color of the text on it.
Now $('#<%=TermsCheckbox.Clien tID%>').ad dClass('my class');
is adding the class but the checkbox renders the text in a label using the same ID?
Any ideas how i can change this please?
I have an ASP:Checkbox which I want to change the color of the text on it.
Now $('#<%=TermsCheckbox.Clien
is adding the class but the checkbox renders the text in a label using the same ID?
Any ideas how i can change this please?
ASKER
but i need to do it for a particular check box not all.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
thanks for the points
good luck on your adventures
good luck on your adventures
if($(this).is(":checked"))
$(this).parent().addClass(
}else{
$(this).parent().removeCla
}
});
CSS
.COLOR{
}