The following works with no problem:

Code:
element.oninput = go;
element.onchange = go;
...
But isn't there a shorter way to achieve the same result? Do we have to repeat the same line for each event?