Posts by tarso64 • 1 point
2 posts
-
0
votes4
answers1089
viewsA: How to change the color of the radio button text when losing selection
Only one alternative... <script> var arrayInputs = $('input:radio'); arrayInputs.change(function() { var arrayChecked = $('input:checked'); var result = arrayChecked.toArray().indexOf(this);…
-
0
votes4
answers1089
viewsA: How to change the color of the radio button text when losing selection
I believe it is much easier to do this using CSS. See if this settles it for you <html> <head> <style> input[type=radio]:checked + label { color: red; } </style>…