- Select
select
-element in dev tools - execute:
var options = $0.options;
for(var i=0; i<options.length; i++) {
if(options[i].text.match(/berlin/i)) {
options[i].selected = true;
}
}
select
-element in dev toolsvar options = $0.options;
for(var i=0; i<options.length; i++) {
if(options[i].text.match(/berlin/i)) {
options[i].selected = true;
}
}