Trigger the change event on the select element

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