rekha_sri
rekha_sri

Reputation: 2725

How to show the field names with their values in editable format while clicking the edit button?

I'm using html for designing my webpage. In that I am having one requirement. that is I need to display the field names with their values in editable format in different window while clicking the edit button. Can anyone help me.

Thanks in Advance.

Upvotes: 0

Views: 83

Answers (1)

Ashwin Krishnamurthy
Ashwin Krishnamurthy

Reputation: 3758

From what i've understood from your question. You can perhaps append a <span><input type='text' id='EditVal'></span> to the innerHTML of the current field selected. And when the enter key is pressed or anywhere outside the area is clicked. You can save the current "Editval" value and display it as the edited text. I hope i cleared your doubt.

Upvotes: 1

Related Questions