I have something like this:
$(document).ready(function(){
var veeCountries = ["America", "Japan"];
$.each(veeCountries, function( ? ) {
$("#content").html("<p>" + value + "</p>");
});
});
I'm trying to output something like this:
<p>America</p>
<p>Japan</p>
But I'm stuck, what's the best and easiest way of doing this?
"<p>" + value + "</p"
to"<p>" + value + "</p>"
?
infunction( ? )
. Here is How to loop through array in jquery