evaluation of input field on pressing a key or when the cursor is moved out of the input field
Hi ,
how to evaluate if the input field entered is "hello" when a key is pressed or when the cursor is moved out of the input field...,
if the input entered is hello ,the user has to be alerted hello else "wrong entry".
<input type="text" id="entry" class="input" placeholder="Enter text here">
thanks.