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

multiselect #154

Closed naverstay closed 6 years ago

naverstay commented 8 years ago

usage

$('.editable').editable('http://www.example.com/save.php', { data : " {'D':'Letter D','E':'Letter E','F':'Letter F','G':'Letter G', 'selected':['F', 'E', 'D']}", type : 'select', multiselect: true });

jja commented 8 years ago

selected1,selected2,etc. seems a bit klunky to me. Why not a separate selected array? data.selected could be maintained and added to the selected array for backwards compatibility.

NicolasCARPi commented 6 years ago

Thanks but will probably merge this one https://github.com/NicolasCARPi/jquery_jeditable/pull/75