How do I make a div with contentEditable set show a blinking cursor on page load?
Posted
by loglibrarian
on Stack Overflow
See other posts from Stack Overflow
or by loglibrarian
Published on 2010-05-15T20:32:39Z
Indexed on
2010/05/15
20:44 UTC
Read the original article
Hit count: 211
I would just like to have an editable div that acts like a textarea that is given focus on page load (i.e. the blinking cursor is visible and typing shows up in the div without having to select the div with the mouse). I've tried calling focus() on the editable div, but that doesn't work.
© Stack Overflow or respective owner