When using Firefox, I continue to get the error described in the subject line for this block of code:
for(var i = 0; i < tables.length; i++)
{
var j = rows.length - 1;
while(j--)
{
if(hideDP && tables[i].innerHTML.indexOf(">D<") != -1)
{
if(!platTag && !soulSilverTag && pearlTag)
{
tables[i].deleteRow(j);
}
}
}
}
I suspect that this error is due to the fact that I am somewhat new to creating reverse loops, but I specifically made a reverse loop in this example, because it made it easier to delete rows from the table. Note also that j is something like 24, and I am 0, so they are non-negative. Can someone shed some light on this for me?
EDIT: Full code can be found here .
source
share