I need to get name of each object which is inside of another object. this should be done in for loop like:
for (var obj1 in obj2){ // use obj1.getName } if this is not possible (but it would be better if yes), I can use something like name property for each object in obj2. this property will store object name.
basically I dont know why obj1 is undefined when program goes through for loop.
EDIT: problem with undefined was in firebug breakpoint on for header row. it missed some code and show me undefined
obj1really is undefined than that's would be a really weird behaviour since the for loop is only looping through properties that actually exist. Or is it that justobj1.getNameis undefined?