html - Javascript object inside an object selection -


how go selecting example style contents of object inside object etc..

the contents of data json encoded array.

in example i'm using code data[i].replies , getting 2.. how go getting data[i].userstyles <- object

http://i.stack.imgur.com/aei6i.png

i'd able select/ see contents of style -> style: "color: #c93030;font-weight:bold;text-shadow: 0 0 6px #c93030;"

even when insert data[i].userstyles says userstyles undefined.

access

data[i].userstyle.children[0].children[0].style //should contain "color: #c93030;font-weight:bold;text-shadow: 0 0 6px #c93030;" 

Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -