0

I am using each method to get data.

$('#gridDetails th').each(function(index, element) {
            var head = $(this).html();
            console.log(head);
            var data = datas[0].head;
            console.log(data);
            var div = $('<div>'+head+'</div><div>'+data+'</div>');
            console.log(div);
            $('#gridDetails').append(div);
        });

head has symbol & Price Here head are shown. But data not able to get. and when we are use datas[0].symbol, It shows correctly

Mohaideen Ismail
  • 314
  • 4
  • 21

0 Answers0