i have this jss fiddle :tS2m3 (i didn't know how to add link)

how i can do the same functionality (to check if the entered text is equal to some text) but with out clicking the button.

i need just to enter "hi" and the show message 

thank you so much for helping