Hello,
I used getElementsByClassName function and it works greate on new version of Firefox. However, it doesn't do work on IE and old version of Firefox (2.0)
Is there another approach to this?
function removeRow(element)
{
var className = element.className;
var parentNode = element.parentNode;
var deletedElement;
var deleteElements = document.getElementsByClassName(className);
for(var i=deleteElements.length - 1; i >= 0; i--)
{
deletedElement = deleteElements[i];
parentNode.removeChild(deleteElements[i]);

if(deletedElement.tagName === 'BR')
{
break; // exit the loop after we delete the BR because if we keep going we'll delete other rows.
}
}
}