Thursday, April 23, 2015

ASP.NET CheckBoxList Operations with jQuery - change color on checkbox click

 $("#<%= chk.ClientID %> :checkbox").click(function () {

                $(this).parent().css('color', $(this).is(':checked') ? 'blue' : 'black');
       
            });

No comments:

Post a Comment