I\'m trying to learn some html/css/javascript, so I\'m writing myself a teaching project.
The idea was to have some vocabulary contained in a json file which would t
The problem is very simple
jQuery.get('wokab.json', function(data) { var glacier = JSON.parse(data); });
You're parsing it twice. get uses the dataType='json', so data is already in json format. Use $.ajax({ dataType: 'json' ... to specifically set the returned data type!
get
dataType='json'
$.ajax({ dataType: 'json' ...