3 Replies Latest reply on Feb 20, 2009 12:05 PM by popovich

    Setting object properties in a class

    popovich
      There is this class contentItem. The instance has been created alright and all the properties, except for "maincopy", has been set successfully. Now when I loop through my xml (the real path to xml nodes have been removed for better legibility), the object in the class is not being assigned properly. Actually, it seems, like it is not being assigned at all.....

      why undefined? it traces the "props" in "obj[props]" correctly!
      thanks for the help.