Loading previous selections in order of selected preferences
Using the multiselect to allow an attendee to select their top 3 hotel preferences for a convention. Data is saved in order of selection (keepOrder: true). This works as expected during time of initial selection.
However, when the attendee returns to edit his/her record, even though the previous selections are loaded in the order they were originally selected, the "selected" hotels are always resorted alphabetically. I need the multiselect to maintain the order or the previously selected hotels. "keepOrder" does not seem to effect this at all as it seems to work only when items are being selected.
I am loading the previously selected hotels as an array of values in the order they were originally selected via the ".multiSelect('select', aHotels); They load fine, just not in order. Can this be done or should I give up hope and look for some other method of doing this?
Same issue here.
Same issue