Nowhere can I find an example of checking the conditions of a select drop-down list via jQ / js. For example:
If the first item is selected in select, it displays the word "hello" . Can you please write the code on the example of this condition.
As select , the code is used:
<select name="sex" id="sex"> <option value="b1"> Женский </option> <option value="b2" selected> Мужской </option> </select>