Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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 + "");
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #loop #html #tag #jquery
ADD COMMENT
Topic
Name
2+7 =