",
"sButtonText": "Copy to element",
"target": "",
"fnClick": function( button, conf ) {
$(conf.target).html( this.fnGetTableData(conf) );
}
}
);
$(document).ready(function() {
$('#example').DataTable( {
dom: 'T<"clear">lfrtip',
tableTools: {
"aButtons": [ {
"sExtends": "copy_to_div",
"sButtonText": "Copy to HTML",
"target": "#copy"
} ]
}
} );
} );
]]>
Plug-in button types
Copy output will go here