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";
}
}
}
This is not supported in new browsers, so I need replacement.
Thanks,
Ilija
Based on what you showed
sortcan be 2 things.<form>with the name or idsortsortThe solutions for these situations are:
(1)
(2)
Then the
elementsarray will contain what you would get with the old-fashioneddocument.all.sort