0
I have the following scenario:
- The user chooses a value on combobox Select2.
- Click on "SAVE" and this combobox Select2 should be stored in an array with the defined events.
- After this I would return to point 1, not modifying the data previously guarded.
Does anyone have any idea how I can do that?
Could post some code already created, some attempt?
– Samir Braga
you don’t need something like a multi select? https://harvesthq.github.io/chosen/
– Breno Perucchi
http://www.jqueryrain.com/? ji8YG4nk
– Breno Perucchi
The goal is not to have a multi-select. But do something like: HTML: <select id="test"></select> Jquery/Javascript var x=[]; x.push($("#test").Select2({ajax:....});) Now I wanted to do another different combo but in the same select x.push($("#test").lectSe2({ajax:....});) This is because I then need to show the two selects side by side with the user-chosen values in each one.
– Leandro Rodrigues
They figured out what I needed?
– Leandro Rodrigues