$('input:radio[name=name_of_radio_button]').click(function() { if($('input:radio[name=name_of_radio_button]:checked').val() == "yes") { $(this).closest($(input:texbox)).attr("disabled", true); } });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)