mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 23:55:24 +00:00
27f62dff6c
- Manage users - Manage groups - Manage logs
12 lines
320 B
JavaScript
12 lines
320 B
JavaScript
function filter_table() {
|
|
var rex = new RegExp($(this).val(), 'i');
|
|
$('.searchable tr').hide();
|
|
$('.searchable tr').filter(function () {
|
|
return rex.test($(this).text());
|
|
}).show();
|
|
}
|
|
$(document).ready(function () {
|
|
(function ($) {
|
|
$('#filter').keyup(filter_table)
|
|
}(jQuery));
|
|
});
|