Hi, i have a couple JS functions that seems to be hindering performance, this is one of them, any suggestion on what i can do to speed it up? Thanks
Code:
function selectInv(oCell){
if(mouseStatus == "down"){
if(selectedRow == oCell.parentElement.id){
if(oCell.className == "invCellAvl"){
oCell.className = "invCellAvlSelected";
if(selectedCells == ""){
selectedCells = oCell.id;
} else {
selectedCells = selectedCells + "~" + oCell.id;
}
}
}
}
}