Javascript array issue firefox
Trying it but didn't work. Don't know why.

    var wor;
    var rows = document.getElementsByTagName("tr");
    var ftw=new Array("xD","lol","nothing");
    for(i = 0; i < rows.length; i++){
    	for(j = 0; j < ftw.length; j++){
    		wor=ftw[j];
    		if(rows[i].innerHTML.indexOf(ftw)!=-1){
    			rows[i].style.display = 'none';
    		}
    	}
    }

Some help please :) Thanks.
Javascript array issue firefox
===

Trying it but didn't work. Don't know why.

    var wor;
    var rows = document.getElementsByTagName("tr");
    var ftw=new Array("xD","lol","nothing");
    for(i = 0; i < rows.length; i++){
    	for(j = 0; j < ftw.length; j++){
    		wor=ftw[j];
    		if(rows[i].innerHTML.indexOf(ftw)!=-1){
    			rows[i].style.display = 'none';
    		}
    	}
    }

Some help please :) Thanks.