mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 15:45:23 +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));
|
|
});
|