I wrote this JS Code
$("#itemSearch").on("keyup", function () {
if ($("#itemSearch").val().trim() == '') {
$(".card-content").show();
}
else {
var value = $(this).val().trim().toLowerCase() ;
$(".card-group").filter(function () {
$(this).toggle($(this).text().trim().toLowerCase().indexOf(value) > -1)
});
}
});
and want to say something like:
$(".card-group"):not.text()
alert ("1");
or
$(".card-group").text ! value
alert("1");
Can anybody help maybe?
Greetings Erya