G
G
GennadyPHP2018-07-12 20:14:18
JavaScript
GennadyPHP, 2018-07-12 20:14:18

How to automatically set focus to contenteditable div?

How to automatically focus (set cursor) on div with contenteditable=true? .focus() etc. does not work. Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
petyagrill, 2018-07-12
@GennadyPHP

And that doesn't work? https://jsfiddle.net/xpvt214o/404799/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question