Answers for "get highlighted text javascript"

4

get selected text js

// Get highlighted text this way:

window.getSelection().toString()
Posted by: Guest on April-08-2020
0

javascript get highlighted text

text = window.getSelection().toString();
Posted by: Guest on July-13-2021

Code answers related to "get highlighted text javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language