Using jQuery i would like to run a function when either .change() or .keyup() are raised.
Something like this.
if ( jQuery(':input').change() || jQuery(':input').keyup() )
{
alert( 'something happened!' );
}
EDIT
Sorry i forgot to mention. Both .change() and .keyup() need some of the variables to be in-scope.
You can bind to multiple events by separating them with a space:
docs here.