Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

queryselectorall javascript images in list

var elem = document.getElementsByClassName("flex-figure");

for (var i = 0; i <= elem.length; i++) {
    var imgTag = elem[i].getElementsByTagName('img')[0];
    var srcLink = imgTag.src;
    console.log(srcLink);
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: node filesystem change directory of a file 
Javascript :: javascript iterate over map keys 
Javascript :: discord.js v13 if dm 
Javascript :: getdisplaymedia screenshot 
Javascript :: css class list 
Javascript :: wait js 
Javascript :: If statement discord js 
Javascript :: angular capitalize first letter 
Javascript :: javascript remove query string from url 
Javascript :: firebase.database.ServerValue.TIMESTAMP 
Javascript :: indexof method javascript 
Javascript :: object flatten js 
Javascript :: how to use axios get 
Javascript :: poll in javascript 
Javascript :: js class exists 
Javascript :: babylon js camera position 
Javascript :: addition of all elements of array in js 
Javascript :: jquery option not disabled 
Javascript :: encrypt decrypt in vanilla javascript 
Javascript :: Using Regular Expressions (regex) to Print JavaScript Number Format with Commas 
Javascript :: Material-ui camera icon 
Javascript :: Node Sass version 7.0.0 is incompatible with ^4.0.0 
Javascript :: reactjs join two array 
Javascript :: mongo mongoose join aggregation lookup 
Javascript :: node js and react js difference 
Javascript :: convert json to table in sql server 
Javascript :: js object some 
Javascript :: express redirect with post data 
Javascript :: why does my form reload the page? html js 
Javascript :: antd react native 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =