0
function ShowSortArrows() {
for (var i = 0; i < document.all.sort.length; i++) {
document.all.sort[i].style.display = "none";
document.all.sort[i].style.visibility = "";
}
if (iSortByColumn!=1) {
if (strSortType=="ASC") {
document.all.sort[(iSortByColumn*2)-4].style.display="inline";
} else {
document.all.sort[(iSortByColumn*2)-3].style.display="inline";
}
}
}
這在新的瀏覽器中不受支持,所以我需要更換。替換爲document.all.sort.length
感謝,
伊利亞·
這很可能是`document.all.sort`指的是一個名爲表「排序「,在這種情況下,document.all.sort [i]指的是表單的輸入。無論如何,我們需要查看原始HTML,以便我們可以爲您提供幫助。 – Zecc 2010-11-24 11:20:27