I am using jQuery's getJson to get a Json object and want to display it on html page.
I can display them successfully with code like this:
$.getJSON(full_name, {}, function(data) {
$.each(data, function(index, field){
$("div").append(index + " : " + field + "<br>");
});
});
And in json data, there is an item with index called 'reference'. I want to change its field from a simple text to a hyperlink. And when I click this link, it will send a GET method request to an url, and display something get from the server on a new page.
How to change my page to achieve this function?
Thanks in advance.