我有一个js行动的负担大的问题,我有以下两行:jQuery的运行脚本
$(".sorter td:first-child").css("width", "13px");
$(".sorter td:last-child").css("text-align", "center").css("padding", "0").css("line-height", "0").css("width", "65px");
该工作奥凯...但是当我去的tablesorter寻呼机的第二页插件然后它不会再次加载。
截图: a busy cat http://www.dreamwire.nl/Cleanished/error.jpg
能somewone帮助我?这是所有的JS我有什么:
var $sorterTable = $(".sorter");
var tablesorterConfig = { widgets: ['zebra'], headers:{ 0:{sorter:false} } };
tablesorterConfig.headers[$sorterTable.find("thead th").length - 1] = { sorter:false };
$sorterTable
.tablesorter(tablesorterConfig)
.tablesorterPager({container: $("#pager"), positionFixed: false, size : 5 });
$(".sorter td:first-child").css("width", "13px");
$(".sorter td:last-child").css("text-align", "center").css("padding", "0").css("line-height", "0").css("width", "65px");
'$( “分拣机TD:最后的孩子 ”)。CSS(“ 文本对齐”, “中心”),CSS( “填充”, “0”),CSS(“行高(“”,“0”)。css(“width”,“65px”);'可以缩短为:'$(“。sorter td:last-child”)。css({“text-align” “中心”,“填充”:“0”,“线高度”:“0”,“宽度”:“65px”});' –