Load an image from a div into a ListView as a thumbnail
===

I've got a div in which I've loaded some HTML. What I would like to do is is to somehow get the first image from this div (I need to search for "img" since I can't control their classes/IDs) and put it as a thumbnail in a listview. Any ideas? 
It's for a phonegap application using jquery/html5 for Android and iPhone.