Onchange attribute for input element

Is there a way to set the onchange attribute for an innput element in BSS?