jqury aus tablefilter ausgebaut
This commit is contained in:
parent
0ad2da71b2
commit
6f4c30fc7a
@ -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) {
|
||||
|
||||
3
tablefilter.min.js
vendored
3
tablefilter.min.js
vendored
@ -1,2 +1 @@
|
||||
function myFilter(){var input,filter,ul,li,a,i,txtValue;for(filter=(input=document.getElementById("suchstr")).value.toUpperCase(),li=jQuery("#suchlist .row"),i=0;i<li.length;i++)(txtValue=li[i].textContent||li[i].innerText).toUpperCase().indexOf(filter)>-1?li[i].style.display="":li[i].style.display="none"}
|
||||
//# sourceMappingURL=tablefilter.min.js.map
|
||||
function myFilter(){var e,t,l,n,r;for(n=0,t=(e=document.getElementById("suchstr")).value.toUpperCase(),l=document.querySelectorAll("#suchlist .row");n<l.length;n++)(r=l[n].textContent||l[n].innerText).toUpperCase().indexOf(t)>-1?l[n].style.display="":l[n].style.display="none"}
|
||||
Loading…
Reference in New Issue
Block a user