I'm about to edit an addon and I have a problem with the jquery list, that filters and hides some elements of a table/html.
$(document).ready(function(){
$('tr').find('td:contains("1,0")').closest('tr').hide();
$('tr').find('td:contains("1.0")').closest('tr').hide();
});
Thats the way I'm using it right now. The function is that I dont want to see the rows with "1,0" and "1.0" anywhere in the row. There can be anything around the "1,0" or "1.0". Like "cars 1,0" or "paper 1.0".
The problem I have is, that this code also hides rows like "paper 11.00" and "cars 1,020". Anyrow that contains "1.0" "1,0" in any form.
Can anyone please help me to adjust the "filter", to avoid hiding "11.00" or "1,020"?