News

function numberFunction() { var input, filter, table, tr, td, i, txtValue; input = document.getElementById("numberInput"); filter = input.value.toUpperCase(); table = document.getElementById("memberTable"); tr = table.getElementsByTagName("tr"); for (i = 0; i < tr.length; i++) { td = tr[i].getElementsByTagName("td")[0]; if (td) { txtValue = td.textContent || td.innerText; if (txtValue.toUpperCase().indexOf(filter) > -1) { tr[i].style.display = ""; } else { tr[i].style.display = "none"; } } } } function nameFunction() { var input, filter, table, tr, td, i, txtValue; input = document.getElementById("nameInput"); filter = input.value.toUpperCase(); table = document.getElementById("memberTable"); tr = table.getElementsByTagName("tr"); for (i = 0; i < tr.length; i++) { td = tr[i].getElementsByTagName("td")[1]; if (td) { txtValue = td.textContent || td.innerText; if (txtValue.toUpperCase().indexOf(filter) > -1) { tr[i].style.display = ""; } else { tr[i].style.display = "none"; } } } } function resetFunction() { location.reload(); }