I have a set of Checkboxes that I am using with a Buttonset to make them look like buttons
<div id="ButtonList">
<input type="checkbox" id='Check0' value="true" /><label for="Check0">0000</label>
<input type="checkbox" id='check1' value='false' /><label for="check1">0100</label>
<input type="checkbox" id='check2' value='true' /><label for="check2">0200</label>
<input type="checkbox" id='check3' value='false' /><label for="check3">0300</label>
</div>
And
$('#ButtonList').buttonset();
$('#ButtonList input[type=checkbox]').change(function () {
$(this).css("color", "red");
});
What I want is that when the user clicks the button so that the checkbox under the button is changed the color will change in this case to red.
I have been trying for hours and no luck and google is not helping much either.
Thanks