This commit is contained in:
David Štaleker
2024-03-11 18:22:37 +01:00
parent 172626c8ee
commit dda4b613f8
32 changed files with 442 additions and 76 deletions

View File

@@ -0,0 +1,18 @@
$(function(){
$('#inpSearchBoard').on('keyup', function(){
searchBoards();
});
});
function searchBoards(){
let value = $('#inpSearchBoard').val().toLowerCase();
$("table > tbody > tr").each(function(i, e) {
let boardText = $(e).find('td:first').text().toLowerCase();
if (boardText.indexOf(value) < 0){
$(e).hide();
} else {
$(e).show();
}
});
}