How to convert all() function to work crossbrowser
<p>I have below code. I want to convert this as cross browser compatible. As all() is IE only function i need to convert this. Please help me. </p>

<pre><code> for(j=1,oTblRows=tblSource.rows,tLen=oTblRows.length;j&lt;tLen;j++){
    o=oTblRows[j].all("center");        
    if(o &amp;&amp; (o.innerText === selCenter.value)){
                  $(oTblRows[j]).show();
    }
    else{
        $(oTblRows[j]).hide();
    }
</code></pre>

<p>}</p>
