I would like to show images instead of the next "last" text that is being displayed now. I tried just overriding the displayed text and it didn’t change anything. The "next" "last" text is still displayed, not to mention the fact that I still do not know how to change it to images.
$('#myTable').dataTable({
"aaSorting": [[ 1, "asc" ]],
"sPaginationType": "full_numbers",
"oPaginate":
{
"sNext": 'n',
"sLast": 'l',
"sFirst": 'f',
"sPrevious": 'p'
}
});
Does anyone know how to do this? I would think it would look like this:
"oPaginate":
{
"sNext": '<img src="myimage.jpg" />',
...
}
rball source
share