Hello All,
Hope you are doing good!!
How can we add some static images to list items using java script
Can any one help me here
Thank you in advance!!
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ramachandran MPosted Jan 29, 2020, 4:20 PM
"http://galaxyfoot.soixanteseize-lab.com/wp-content/uploads/image_edito1.jpg",
"http://img.youtube.com/vi/yjtqkQFAn5U/0.jpg",
"http://img.youtube.com/vi/KNz01ty-kTQ/0.jpg"
];
var htmlText = '';
$.each(images, function (indx, item) {
if (htmlText == '') {
htmlText = "
}
else {
htmlText = htmlText + "
}
});
$('#nav').html(htmlText);