google-code-export / dropdown-check-list

Automatically exported from code.google.com/p/dropdown-check-list
1 stars 0 forks source link

Selection Order option #239

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
** What steps will reproduce the problem? No matter what order the items are 
selected they are sorted alphabetically or original order.  

** What is the expected output? What do you see instead?  Need an option to 
disable sorting. So that the list returned is in the order that it was picked.

** What is your environment?
-- DropDownCheckList version:
-- jQuery version:
-- jQuery UI version:
-- Browser and version:

** Please provide any additional information below/Please attach sample
html

Original issue reported on code.google.com by miketro...@gmail.com on 3 Mar 2012 at 11:20

GoogleCodeExporter commented 9 years ago
The DDCL is a cosmetic presentation of an underlying SELECT. The original 
SELECT continues to be the mechanism for determining what the user has picked, 
and the SELECT html tag has no support for indicating the order in which 
multiple options have been checked.
I will leave this issue open as an 'enhancement' in case someone wants to post 
an idea of how to return the order of selection as part of a form submit.  It 
you want access to the order of selection within client Javascript, you can 
already do that by coding your own function via the callback mechanism.

Original comment by womohun...@ittrium.com on 8 Mar 2012 at 2:18