I have a JSON object with a key element called callback.
{
"id":34,
"description":"",
"item_id":4,
"callback":"addNew",
"filename":"0000072.doc",
"type":"News",
"ext":"doc",
"size":46592
}
I would like to call the javascript "addNew" function. I tried.
json.callback(json);
But does not work. Any idea?