0
테이블이있는 페이지가 있으며 jquery의 테이블러 플러그인을 사용합니다. 이것은 내가 내 페이지에있는 코드는Tablesorter jquery 플러그인의 오류
Message: Unable to get value of the property 'type': object is null or undefined Line: 8 Char: 2558 Code: 0
: 때때로 나는이 오류가
<script type="text/javascript">
$(function() {
if ($("table#table_tb1").find("tbody").find("tr").size() > 1) {
$("table#table_tb1").tablesorter({ sortList: [[0, 1]] });
}
});
절이 테이블이 비어있을 때 발생하는 같은 플러그인 버그를 해결하는 경우 .
var s=(table.config.parsers[c].type=="text")?((order==0)?makeSortFunction("text","asc",c):makeSortFunction("text","desc",c)):((order==0)?makeSortFunction("numeric","asc",c):makeSortFunction("numeric","desc",c));
사전에 감사 :
이 오류가 발생 tablesorter.js의 라인입니다!
게시 한 오류는 압축 된 버전의 것이므로 오류의 위치를 정확히 알 수 없지만 [이 질문/답변] (http://stackoverflow.com/questions)을 참조하십시오./8581064/tablesorter-n0-undefined/8618359) 문제가 해결되는지 확인하십시오. – Mottie
고마워, 내가 직면 한 문제와 비슷하게 들린다. 나는 그것을 조사 할 것이다. – Aniket