Trigger change event on hidden input element.
This allows another script to register an onChange event handler to, for example, auto-submit the form when the value changes.
Add an is-selected class to the selected option.