Closed naverstay closed 6 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.
Thanks but will probably merge this one https://github.com/NicolasCARPi/jquery_jeditable/pull/75
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 });