New here, but i'll keep it short and as detailed as i can.
I have searched for anything similar but cant seem to find anything..
Well, here is what i am having problems with:
I'm trying to create an array (consisting only of img src) for every image loaded inside a specific div, and each img has same class. Cant see to get that to work.
When the array is created successfully, the div we just fetched from, including all child elements, will be delted/removed.
The purpose of this is:
When i have the array, im going to try to make a "photogrid" consisting of 30-50 images, (a gallery in other words) and the image sources inside this "grid" will be fetched from the array.
The img class is "photo" and the div class is "SearchResult"
Could you guys help me out ?
tried using map function without success (maybe im just missing something.. )