I have a dropdown input
<select id="training" name="TrainingTopic">
<option value="training 10">training 10</option>
<option value="training 9">training 9</option>
</select>
When I choose one of the options the dropdown text is changed to the selected option text, can I change this text on the dropdown placeholder via js? For example, when I open the dropdown I see training 10
and training 9
options, but when I choose one I need custom text in the placeholder, for example, "you selected training 9", and in the dropdown text of the option still should be "training 9" and the value of the dropdown input also.