I have a radiobutton list that is rendered as
<input id="rblOD_1" type="radio" name="ctl00$ContentPlaceHolder1$rblOD" value="1">
<input id="rblOD_2" type="radio" name="ctl00$ContentPlaceHolder1$rblOD" value="2">
<input id="rblOD_3" type="radio" name="ctl00$ContentPlaceHolder1$rblOD" value="3">
I want to disable the last item only on page load and enable it after doing checks from the db. I am doing this to do it
$("input:radio[name='ctl00$ContentPlaceHolder1$rblOD'][value='3']")
.attr('disabled', 'disabled');
It doesn't work on load but it works in the radiobuttonlist change event. How can I get it to work on load or without any click or change events?