How to append paragraph with text from array?
First I put element in array:
var iminja = [];
iminja.push("Name1");
Then I use for loop for each element in array "iminja" where I want to put new paragraph to existing empty div with the text from the array. Something like this, which is just to explain you how I want to be the final result in function:
$('#existingDiv').append('<p style="border: 1px solid black;">iminja[index]</p>');
Can someone help me for this?