shaunm / centos / centos.org

Forked from centos/centos.org 2 years ago
Clone

Blame assets/js/script.min.js

13445e
function myFunction(){for(var e=document.getElementById("myInput").value.toUpperCase(),t=document.getElementById("myTable").tBodies[0].getElementsByTagName("tr"),n=0;n<t.length;n++){var a=t[n].getElementsByTagName("td");t[n].style.display="none";for(var l=0;l<a.length;l++)a[l].innerHTML.toUpperCase().indexOf(e)>-1&&(t[n].style.display="")}}