I have a HTML Select element with various options. Each option has an attribute called label.
How can I set option as selected by this attribute value?
You can look up the option using an attribute equals selector, then set its selected property to true using prop.
$('option[label="the value here"]').prop("selected", true);