How can I copy the text from a dropdown using jQuery?
<select id="pass1" class="ddl">
<option value="yes">YES</option>
<option value="no">NO</option>
<option value="NA">N/A</option>
</select>
I'm trying to copy the text which is being displayed in the dropdown using windows selection command in jQuery and copy to clipboard command.
I could copy the whole page and text of the form but i couldn't copy the select options (text in the dropdown).