I generally absol in js: (.

If there is on the page, for example <textarea> , but the user does not see the field itself, but simply sees the text in it.

Can js be used to set the element's editable property — if it exists at all, and as a result get a form for editing and sending data? (+ after pressing the изменить button, show the send button)

The <textarea> field is initially in <form> .

  • Do you want that when the user clicked the button to turn on the field editing, then the user clicked "save" and after that the field was no longer edited? - Yuri
  • well yes. After clicking send or save, the form is usually sent to the server. - root_x Povierennyy
  • What is the difficulty? Make it possible to edit textarea or submit a form? Or all together? - Yuri
  • I generally ask: Is it possible to do this? - root_x Povierennyy
  • Can. Make the edit button, after clicking on which the textarea is edited and the save button appears. Click on the save button - the form is sent. So? - Yuri

0