Function onchange

    Fires when the contents of the object or selection have changed.