1 Reply Latest reply on Aug 4, 2007 6:45 AM by kglad

    radio button "selected" parameter

    chopTheWood Level 1
      assuming that "but1" is the name of my radio button, I can't seem to substitute a variable for "but1". I want to be able to concatenate the prefix "but" with the number of the button (1 in this case) and use the following syntax:
      "but"+my_var.selected=true;

      But this isn't working.
      Any suggestions on doing it other than compound "if then" statements?