[Solved] How to find a value entered in a textbox in a list in javascript


Simplest solution would be:

var inputVal = $('input').val();
$('li:contains("'+inputVal+'")').css('background-color','#FF0000'); // or change any other CSS property to highlight

3

solved How to find a value entered in a textbox in a

  • list in javascript