Having a JSON of type: {"HOME":{"INTRODUCAO":"midias/video1.mp4"}}
How to get the value midia/video1.mp4
from the string
var key = "HOME.INTRODUCAO";
I've tried:
var key = "HOME.INTRODUCAO";
$.getJSON([CAMINHO DO JSON], function(j){
alert(j.key);
});
But I get the message "undefined".