Hi,

i use this code to disable radio button when passing value is "0"
HTML Code:
$('input[type="radio"]').prop('disabled', function() {
   return $(this).next().text().match(/\((\d+)\)/)[1] == 0;
  

});
when this value is "0" also i want to color that label

HTML Code:
<form id="form1" name="form1" method="post" action="">
  
  <label >
  <input type="radio" name="radio" id="rd" value="" />
  </label> 
  confirm
</form>
please help me