Using jQuery i would like to run a function when either .change() or .keyup() are raised.
.change()
.keyup()
Something like this.
if ( jQuery(
That's not how events work. Instead, you give them a function to be called when they happen.
$("input").change(function() { alert("Something happened!"); });