asp.net - Disable a RadioButtonList Item - Firefox -


I found a radio button list in an asp.net 2.0 project. I would like to disable one of the items from this list, but when I change enabled to an item's false , it only wraps this item with a span Disabling input is provided for HTML:

  & lt; Span disabled = "disabled" & gt; & Lt; Input id = "ctl00_RadioGroup_2" type = "radio" value = "right" name = "ctl00 $ radio group" & gt; & Lt; Label = "ctl00_RadioGroup_2" & gt; OK & lt; / Label & gt; & Lt; / Span & gt;   

This works fine on IE9 , but the radio button is still enabled on FF4 .

Any quick solution for this issue? Or the only way would be some javascript?

Span-tags do not have a disabled attribute check that JavaScript is disabled for each radio input element It would be better to use

Comments