var arr = ['test1', 'test2', 'test3']; for (i=0; i < arr.length; i++) { arr[i] = "<li>"+arr[i]+"</li>"; } alert(arr);