This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
I have a button to load images. When user clicks on it, it needs to bring back 6 images initially with an option to load more images. I am dynamically creating <table> and other necessary tags. I want to set onload event to every <image> tag. This is what I have so far.
But this function is not being called. Eventually, this function would be responsible to bring back the actual image. and each image block would be loaded dynamically and independently.
The code that I have posted is preparing the structure to host image. so what I want is when I have <image> element ready, I want to call a function to fetch the image and set it to this element. And I assume onload event of <image> element is best suited.