-
assing array to span in jquery
about 9 years ago
-
about 9 years ago
Hi you can try something like this :
$.each(array , function(i, val) { $( ".container" ).append( "<span>"+val+"</span>" ) });
where $( ".container" ) is the container div that will contain the generated span
-
1 Answer(s)