Jquery multiple events to trigger the same function

Posted by dweebsonduty on Stack Overflow See other posts from Stack Overflow or by dweebsonduty
Published on 2010-03-28T18:53:57Z Indexed on 2010/03/28 19:03 UTC
Read the original article Hit count: 200

Filed under:
|

Is there a way to have keyup, keypress, blur, and change events call the same function in one line or do I have to do them separately?

The problem I have is that I need to validate some data with a db lookup and would like to make sure that there is no way that the validation is missed weather it is typed or pasted into the box.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ajax