Use the change event instead of the keyup event.

It should be unnoticeable for end users, but this makes automation such as acceptance tests much easier.