Answers for "get selected text option javascript"

5

get selected text js

// Get highlighted text this way:

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

get text from selected select javascript object

this.options[this.selectedIndex].text
Posted by: Guest on September-09-2021

Code answers related to "get selected text option javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language