I need help with getting property of object with String in JS.
I have object
elements = { element : { date: { day: \'Mo
Modern browsers support JSON.parse().
var arr_from_json = JSON.parse( json_string );
In browsers that don't, you can include the json2 library.
alert(arr_from_json.elements);