implement auto select, enhancement #28844

select() is supported cross browser.