Render column with url link + load page into div

Render column with url link + load page into div

KentiKenti Posts: 1Questions: 0Answers: 0
edited July 2015 in Free community support

My json file content 3 infos: Name, Firstname and file.

I want to output 3 column: a (Name); b (First name) and c (filename)
I render third Colum this ways:

"columns": [{"data": "a" },{ "data": "b" },{ "data": "c";}},"render": function (data, type, full, meta)  {return '<a href="data/'+data+'.htm" title="D&eacute;tails" " class="details">D&eacute;tails</a>';}}],

and would like to load an htiml content in another div or article

$(document).ready( function() {
    $(".details").on("click", function() {
        $("#details").load($(this).attr("href")
    });
});

This doesn't work.

Could you help me?

This discussion has been closed.