i have this html code
<select id="pa_color" class="" name="attribute_pa_color"
data-attribute_name="attribute_pa_color" data-show_option_none="yes">
<option value="">Choose an option</option>
<option value="blu" class="attached enabled">blu</option>
<option value="red" class="attached enabled">red</option>
</select>
so i want to add a javascript code under this or before this and when i will select any option in dropdown it will show an alert with the option i selected
so i cannot edit this html i need just another javascript code that will detected change of this and will show alert