How to make editable div or paragraph by double clicking?

192 views   Javascript  2020.09.19


I want to make a simple div which has to become editable when a user double-clicks on it. I wish div to turn into element like text field with cursor to the text where double-click event occurred. Moreover, I want it to turn back into <div> after pressing Enter button. How to hack it?

Answers, ideas and Comments

» 50 ideas

 • 4 days ago
0 



 • 5 days ago
0 



 • 5 days ago
Priligy Dapoxetine Sildenafil »

0 



 • 6 days ago
https://buyneurontine.com/ - side effects of gabapentin 300mg »

0 



 • 1 week ago
Viagra Arztrezept »

0 



 • 1 week ago
https://prednisonebuyon.com/ - effects of prednisone »

0 



 • 1 week ago
Viagra Frau Nasenspray »

0 



 • 1 week ago
http://prednisonebuyon.com/ - Prednisone »

0 



 • 1 week ago
0 



 • 1 week ago
https://buyneurontine.com/ - gabapentin reviews »

0 



 • 2 weeks ago
http://buyplaquenilcv.com/ - Plaquenil »

0 



 • 2 weeks ago
0 



 • 2 weeks ago

0 



 • 3 weeks ago
Lasix »

0 



 • 3 weeks ago
We spent a lot of time at her home. Maybe so her mother could keep an eye on us. Mrs. Spencer made sure to be around, offering drinks, snacks, chit chat. I noticed that she was fairly young herself. Granted at my age, anyone over 25 was old, but she was probably mid-30s, divorced. If she was a indiction of how Carley would develop, maybe I should wait. Mrs. Spencer had fuller breasts and a nice butt. She appeared to be in great shape for her "advanced" age. I knew she was keeping an eye on me as much as I was on her and her younger daughter. Her eldest, Sharon was away at college at the time. With Mrs. Spencer around we mostly limited ourselves to holding hands and sneaking in a few light kisses. One day Mrs. Spencer caught us by surprise walking in as I'd slid my hand up from Carley's stomach to rub her right breast through her shirt. She didn't really need a bra yet, so I could feel her nipple, hard, through her shirt. Just this much contact had me hard also. https://sites.google.com/view/JgXZOe7ZG89a8jPN https://sites.google.com/view/mpopt3MlTniphJFa  »

0 



In order to go deep, share any relevant idea or posting solution to some questions, You have to sign in or create a new account if you don't have one. And get Donnekted(connected)




Log in now  Join the Team

This site is for sharing topics, questions, answers, experiences or other contents related to different stuffs, especially technology. For existing users, They can make any topic(post) to discuss about in hope for ideas or any result from other people from different communities. In order to get involved, Get donnekted(connected) by Joining us here!

Posted under this group »
This community is about sharing contents such as questions and answers discussing about Javascript and TypeScript, ES5, ES6


84 people joined this donnektish


Maintain social distancing, to avoid Covid19