Skip to content

Change Radio button list color

Pavneesh Kumar

Pavneesh Kumar

Asked Oct 29, 2015, 10:49 PM EDT1 answer
Share
LinkedInX
change radio button list color asp.net on selection

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Rahul Sharma
    0
    by using  onclick="ChangeColor();" in <asp:RadioButtonList ID="Rbl_Search" runat="server">
    and then
    JavaScript
    function ChangeColor() {
                var rblist = document.getElementById('rad2');
                rblist .style.color = "red";
            }
     
    0