jqury aus tablefilter ausgebaut

This commit is contained in:
troy
2023-09-03 11:27:12 +02:00
parent 0ad2da71b2
commit 6f4c30fc7a
2 changed files with 2 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ function myFilter() {
input = document.getElementById("suchstr");
filter = input.value.toUpperCase();
li = jQuery("#suchlist .row");
li = document.querySelectorAll("#suchlist .row");
for (i = 0; i < li.length; i++) {
txtValue = li[i].textContent || li[i].innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {