-3

I want to get value of description from jQuery object. my object something like this. enter image description here

I am using JSON.parse but with this, I am getting undefined.

Sonia Bhatia
  • 146
  • 16

2 Answers2

1

Assuming we get the object from data variable. You get it like

console.log(data[0].description);
Sudharsan S
  • 15,336
  • 3
  • 31
  • 49
0

try this

objectName[0].description
Nuwan Chamara
  • 197
  • 3
  • 14