selectOption method
Implementation
OPTIONElement? selectOption(Object? option, [bool selected = true]) {
var elem = getOption(option);
if (elem != null) {
elem.selected = selected;
return elem;
}
return null;
}
OPTIONElement? selectOption(Object? option, [bool selected = true]) {
var elem = getOption(option);
if (elem != null) {
elem.selected = selected;
return elem;
}
return null;
}