I have this code but it doesn't work with asp.net page which has a master page along with ajax control toolkit(I have included ToolScriptManager). The code is
<script type="text/javascript">
jQuery(function() {
$("#<%=RadioButtonList1.ClientID%>").change(function() {
var rbvalue = $("input[@name=<%=RadioButtonList1.UniqueID%>]:radio:checked").val();
if (rbvalue == "No") {
$("#DropDownList1").attr("disabled", false);
}
else if (rbvalue == "Yes") {
$("#DropDownList1").attr("disabled", true);
}
});
});
</script>