Hi , I am using javascript appendChild() function which is very slow, i need an alternative for this which will improve my system performance. the following is the code snippet if(t.tBodies[count].id != null && t.tBodies[count].id == "dataRows"){ for (j=0;j<t.tBodies[count].rows.length;j++) { t.tBodies[count].appendChild(sortRows[j]); document.all("mainTable")[1].tBodies[count].rows[j].cells[0].innerHTML = sortRows[j].cells[0].innerHTML; } } in the above i need an alternative to t.tBodies[count].appendChild(sortRows[j]); which is taking more time , please help in this
we are using the above code in table sorting, sorting is happening perfectly, after sorting we are appending the sorted rows to the same table using appendChild() method which is taking more time, our performance is poor, to improve the performance we have to optimize code i.e appendChild() method i.e we need an alternative for this.