i would like to ask you help.
If i have an tag with a specific (value="yyy") and some text, how can i retrieve this text or check if it is equal to a specific string if the option is selected, through jQuery?
<option name="xxx" value ="yyy">text</option>
I know that the .val() function retrieves the value="yyy" and not the text. I need to get (and check) the text string.
Thanks