NicolasCARPi / jquery_jeditable

jQuery edit in place plugin. Extendable via plugin architecture. Plugins for plugin. Really.
https://jeditable.elabftw.net
MIT License
1.74k stars 458 forks source link

One button to edit multiple input fields #180

Closed TiagoDeSousa closed 6 years ago

TiagoDeSousa commented 6 years ago

Is there a way to have a button that when clicked enables multiple items to be edited at the same time instead of individually? The idea is to have a form with multiple fields and an Edit Form button on top that when clicked makes all the form items editable.

Thank you.

NicolasCARPi commented 6 years ago

Hello,

One way to do it:

https://codepen.io/nicolascarpi/pen/KBWeJK

Clicking the button will make all the elements of class editable editable.

TiagoDeSousa commented 6 years ago

Great! Thank you!