html5 - preserving a contenteditable div selection while having the caret in an text input -


i have contenteditable div want allow user make selection click on text input field , enter value without highlighting of contenteditable selection lost.

is possible? can hack in firefox looks like.

i selection on mousedown , restore selection on mouseup while cursor in other input in chrome when restore selection causes focus lost in input field. not have work in ie, in ff, safari , chrome.

if isn't possible route going, there other workarounds issue?


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -