Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get src values of set of images inside div with pure JavaScript

const imgs = document.querySelectorAll('.flex-figure img');
imgs.forEach(img => console.log(img.src));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #src #values #set #images #div #pure #JavaScript
ADD COMMENT
Topic
Name
6+1 =