I'm using the DataTables jQuery plugin and am having issues with the First and Previous pagination links displaying correctly in IE and Safari (Firefox and Opera work).
"<<" and "<" display as "<" and "".
$(document).ready(function () {
oTable = $('#fileList').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"oLanguage":
{
"sSearch": "Search all columns:",
"oPaginate":
{
"sNext": '>',
"sLast": '>>',
"sFirst": '<<',
"sPrevious": '<'
}
开发者_如何转开发}
});
I have attempted to escape '\<\<' to no avail.
Any ideas?
Use the character entity references <
and >
for <
and >
respectively.
You might also want to know about &
too which is used to display &
.
These are the correct character entities to use in your case.
For < and > use <
and >
For << and >> use «
and »
精彩评论