I'm trying to select text with a mouse in Textarea and click the button and delete the selected text.
I'm using:
window.getSelection().empty()
and it just doesn't work.
I'm trying to select text with a mouse in Textarea and click the button and delete the selected text.
I'm using:
window.getSelection().empty()
and it just doesn't work.