I know it is possible to select the text from a textarea with the .select()
method, but is it possible to do it from a div
with the attribute contenteditable="true"
?
The same method didn't work for me but maybe there is something else I have to do?