Using jQuery i would like to run a function when either .change() or .keyup() are raised.
.change()
.keyup()
Something like this.
if ( jQuery(
you can bind to multiple events by separating them with a space:
$(":input").on("keyup change", function(e) { // do stuff! })
docs here.
hope that helps. cheers!