trigger keyup on target element after key is clicked

I had a hard time dealing with client-side search without having some kind of trigger, I feel that the keyup event is the most appropriate in simulating a real keyboard.