I have to make javascript, select from one of this options by the text that is written,(Small, Medium, Large, Xlarge) not by the value, can someone please help me :)
<option value="s">Small</option>
<option value="M">Medium</option>
<option value="L">Large</option>
<option value="XL">XLarge</option>
</select>