I made many search but I can not solve my issue.
<select id="my_select">
<option value="Findme_1">Knowing_1
<option value="Findme_2">Knowing_2
</select>
In a function, I need to find the value of the option with "Findme_1" in content.
How can I do this please?
EDIT: I do not need to find the value of the selected option, I do not neither need to find the value of an option using its index, I only know the content "Knowing_1" and I want to know the value "Findme_1".
I thought about a loop but may be there are an other more common way?