Trigger the change event on the select element

The change event wasn't being triggered when the select attribute was set.