Hi there,
Quote:
|
Don't know if this is the right forum...
|
Probably not. This is a client side issue, so you may be better off posting questions like these in a JavaScript forum.
That said, this is easy to do with
jQuery.
Code:
var allInputs = $('#<%=cbl1.ClientID%> input');
allInputs[0].disabled = true;
$(allInputs[0]).next().css('color', 'red');
This code gets all input elements, disables the first item and then finds the label using next() to which some CSS is applied; in this case to change the color of the text to red.
Hope this helps,
Imar