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
Post a Comment