problem to pass data-id to modal popover

problem to pass data-id to modal popover

luqman94luqman94 Posts: 1Questions: 0Answers: 0
edited September 2013 in DataTables 1.9
HTML :
[code]



Rendering engine
Browser
Platform(s)
Engine version
CSS grade








/// modal


×
test






[/code]

Javascript :

[code] $('#table4').dataTable({
"bProcessing": true,
"sAjaxSource": "js/results.json"

});

$("#open-AddBookDialog").click(function() {
var username = $(this).data('id');
$("#getdata").html(username);

});

[/code]

Json :
[code] ["test","172120886","2013-03-26","test","View<\/a>\n"]
[/code]


i am using mozilla firebug
[15:13:27.637] Empty string passed to getElementById(). @ http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js:2

can someone help me ?
This discussion has been closed.