5 Replies Latest reply on May 2, 2006 12:24 AM by Newsgroup_User

    set property of checkbox

    Level 7
      I want to set particular checkboxes to checked.

      I have a series of checkboxes called Cbx1, Cbx2 etc.

      In the same frame I have a function containing the following code:

      setProperty(eval("Cbx"+i), selected, true);

      where i is a number equal to one of the checkbox numbers.

      I get the error 'Property name expected in GetProperty.'

      How do I correctly reference the checkbox from inside the function?

      Doug