Answers for "use jquery for make a html loop"

0

how set for loop in html tag with jquery

for (i = 0; i < licount; i++) {
    var lielem = $("#nitsmenu li").text();
    var element = $(lielem).text();
    $("#nitspopupmenu").append("<div class='form-group'><div class='pagesmenu selected'><span><i class ='fa fa-bars'></i>" + lielem + "");
}
Posted by: Guest on April-19-2021

Browse Popular Code Answers by Language