I have simple JSON array and each function:
var result= $.each(response.data, function(k, v) {
console.log(k);
});
Now, this work fine, in my console I get all values from JSON. So, is there possibility for values of array show in my HTML page,in some div
, etc:
<div id="my_div"> </div>
I try with append()
and HTML functions, but always get blank div
.
Thanks