tmyonline Posted April 8, 2008 Share Posted April 8, 2008 Hi guys: I have a JSON of the form: JSON = [{"grade": "90"}, {"grade": "95"}, {"grade": "93"}, {"grade": "98"}]; How do I access members of this JSON in Javascript ? Thanks. Link to comment https://forums.phpfreaks.com/topic/100147-how-to-access-members-of-a-json-in-javascript/ Share on other sites More sharing options...
nogray Posted April 8, 2008 Share Posted April 8, 2008 try this, JSON[0]['grade'] Link to comment https://forums.phpfreaks.com/topic/100147-how-to-access-members-of-a-json-in-javascript/#findComment-512189 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.