I have a "div" that brings the data from a table "Mysql", how do I click the "div" to make the data editable? But without going to another page.
<div id="nome_mysql">João</div>
By clicking on John, the "div" would become an "input text", where I could change the name to another, and after making the change, the "input text" would return to be a normal "div"?