I have a global JavaScript array that contains some strings.
I want to create a dynamic list based on the strings in my JavaScript array. Similar to this:
Try this
var str = ''; for(var i in $yourArray){ str += 'String 1'; } str += ''; $('body').append(str);