To sort the results , I am using the below code for swapping two arrays of results in javascript. But its not working in firefox and chrome browser but works only in IE.
for (x=0; x<resultArr.length; x++) {
allTR[x].swapNode(colArr[resultArr[x]])
}
Without using swapNode function, how can I swap two arrays. Here allTR is my parent array as well as target array. whatever temp variables I can have, finally I should append it to allTR array. Please help me this issue