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?
var className = element.className;
var parentNode = element.parentNode;
var deleteElements = document.getElementsByClassName(className);
for(var i=deleteElements.length - 1; i >= 0; i--)
deletedElement = 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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)