is element in list

is element in list

Hello all

I have next problem. I make li list when i register user, and when i try login i wont to check is this value from login input, exist in my list in some element from list.

How to do that?