jQuery: function equal to onkeyup=""
<p>Is there a function in jquery equal to onkeyup=""</p>

<p>I already found change() but this only executes the alert when on blur, i want it like live searching when you write "a" (wants to write anton) then it should execute the function.. So when you write 5 words thats like 5 executions..
I tried this too:</p>

<pre><code>$('#searchFriends').bind('keyup', function() { 
  alert('you wrote something');
});
</code></pre>

<p>But this just keeps executes and alerts never ends even if i stop writing something.. :S</p>
