forum

Home / DeveloperSection / Forums / Enable disabled Radiobuttonlist with jQuery

Enable disabled Radiobuttonlist with jQuery

Anonymous User216630-Nov-2014

I have a radiobuttonlist initially disabled (Enabled="false"). I want to enable it on a button click. The jQuery line that would enable the radiobuttonlist is as follows:

 

$("#<%=MyRadioButtonList.ClientID%>").prop("disabled", false);

But it does not work. What I noticed is that ASP.NET encloses the input tag with which, if I understand correctly, prevents the javascript code from enabling the list.

What would you suggest?


Updated on 01-Dec-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By