Problem counting elements in div - need advise.
I have a test scenario which consists of one "main.html" file with one image and one link in it. When I click on the link I am loading anotherRialto.html file into main.html. "anotherRialto.html" has just one image in it. Lastly I am counting number of images in the main.html file.
I have some issues with my implementation of this scenario and will really appreciate your help.
All files (main.html, anotherRealto.html, two image files of Venetian Rialto bridge and testCounter.js) needed to run the example is in the "testCounter.zip" attached to this post. Questions are listed at the end of testCounter.js.