$("#input").keyup(function () {
var userInput = $(this).val();
$("#list div").map(function (index, value) {
$(value).toggle($(value).text().toString().indexOf(userInput) >= 0);
});
});
here is the code
How do I make it case insensitive? is it possible? I tried using css
to force lowercase on user input but did not help.