Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
For purposes of this question assume that the target XML is properly formed and contains three elements called <root3>, each containing the text 'fubar'. I would expect the alert within the parseXML function to fire three times, the first displaying 'fubar -', the second displaying 'fubar - fubar -' and the third displaying 'fubar - fubar - fubar -'. The first firing instead displays 'undefinedFubar -'. Can someone please tell me why, and what I have to do to get rid of that initial undefined reference? Thanks much.
Join the community of 500,000 technology professionals and ask your questions.