Answers for "this selected text"

7

jquery selected option text

$( "#myselect option:selected" ).text();
Posted by: Guest on October-06-2020
0

get selected text

const getSelectedText = () => window.getSelection().toString();
Posted by: Guest on October-04-2021

Code answers related to "this selected text"

Code answers related to "Javascript"

Browse Popular Code Answers by Language