79161089

Date: 2024-11-06 01:06:02
Score: 0.5
Natty:
Report link

When you look up the text, you can increase the specificity of the search to only search elements with the name class:

$(this).toggle($(this).find(".name").text().toLowerCase().indexOf(value) > -1)

I added a .find() call to the element which will narrow the scope of the .text() call to only elements with the name class.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: dzylich