Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
In the above screenshot i am getting value for propName in line 2 , but while using same value in (nested loop) line 3 getting issue as "org.mozilla.javascript.UniqueTag@5c998613: NOT_FOUND".
But while using actual value instead of propName in line no 3, its working fine.
Please let me know if any issue is there in code. Thanks in advance.
Solved! Go to Solution.
Try:
results[propName].Content.Items.length;
Right now your code is looking for a property called "propName" on your results object... to use the value that you've assigned to propName, it needs to be in square brackets.
-Nick
Try:
results[propName].Content.Items.length;
Right now your code is looking for a property called "propName" on your results object... to use the value that you've assigned to propName, it needs to be in square brackets.
-Nick