Pagination title attribute
Pagination title attribute
the_bowwer
Posts: 2Questions: 0Answers: 0
Hello,
I can't find a way to add a title attribute to the elements of pagination. I use "full_numbers" as "sPaginationType".
Also, Is there a way to transform those to elements ?
I use 1.8.2 version of datatable.
Thanks fo help !
I can't find a way to add a title attribute to the elements of pagination. I use "full_numbers" as "sPaginationType".
Also, Is there a way to transform those to elements ?
I use 1.8.2 version of datatable.
Thanks fo help !
This discussion has been closed.
Replies
Update to DataTables 1.9 :-)
To set a title attribute you would just use a little jQuery:
[code]
$('div.dataTables_paginate span').attr('title', 'hello');
[/code]
If you want something more elaborate such as the text 'Next' etc, you can just use a different (more selective) selector.
Allan