Multiple events one function

The following works with no problem:

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?