Hello. "simple question"
I have a list of 5 I have ( in *.css file ) settings - EACH of my 5 RadioButtons have "style" similar to :
======================
.styleRadioButton#
{ position : absolute;
z-index : 10;
top: ##%; /* these 2 settings vary a bit, but actually - only "top" */
left: ##%;
width: 200px;
height: 25px;
color : #RRGGBB ; /* my 5 color choices are Red/Orange/Green/Blue/Purple }
=======================
{ position : absolute;
z-index : 10;
top: ##%; /* these 2 settings vary a bit, but actually - only "top" */
left: ##%;
width: 200px;
height: 25px;
color : #RRGGBB ; /* my 5 color choices are Red/Orange/Green/Blue/Purple }
=======================
WHEN a specific is chosen - I want my label
( )
to "report" choice - with the color ( forecolor ) "colored" same as Radio Button selected.
(
to "report" choice - with the color ( forecolor ) "colored" same as Radio Button selected.
( Have the label "print to screen" in the selected color of associated )
Thanks, in advance.
Sincerely,
Ray Grant
Thanks, in advance.
Sincerely,
Ray Grant

R J192 reputationPosted Aug 26, 2014, 8:51 PM EDT
By using jquery, you can get the selected radio button value or color value and assign it to foreground color of label.
something like this,
$('input:radio[name=ChoiceA]').click(function() { var niceColor = $('input:radio[name=ChoiceA]:checked').val(); ///// get the value and conditionally change the forground of lable if(niceColor !== undefined) { $('lblTester').css('color', niceColor); }try this approach and place your code here if you see any issues.