Disable radio button
-
Hi, I have two textboxes and one label. In textboxes I am entering numbers. To those textboxes I assigned on javascript function which will calculate the difference of those numbers and display in the label. I have one radio button. I need to disable the radio button if the difference is negative. How to diable the radio button based on label value. I am assigning the difference to label in javascript function. Thanks
-
Hi, I have two textboxes and one label. In textboxes I am entering numbers. To those textboxes I assigned on javascript function which will calculate the difference of those numbers and display in the label. I have one radio button. I need to disable the radio button if the difference is negative. How to diable the radio button based on label value. I am assigning the difference to label in javascript function. Thanks
If you are already using Javascript to assign the label, then it should be easy set the radio button appropriately. if(value < 0) radiobtn.checked = false
only two letters away from being an asset