Avatar

Correct answer by
Level 10

Yes.

'populatePartNo'  is the function name. 'partNo' is the array name. Since 'partNo' is defined outside of a function it is available to all functions in the script object. The 'populatePartNo' function iterates over the 'partNo' array adding each child to the drop-down.

Steve

View solution in original post