How to copy the text displayed in an HTML dropdown list (