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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ramachandran MRank #2,660 · 522 reputationPosted Jan 29, 2020, 11:20 AM EST
"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);