Select 2: Creating a searchable drop down

I’m trying to create a searchable dropdown menu in html/js using select 2:

I’m using the asp: DropDownList component with jquery Select2. It works but I expect to change the DropDownList SelectedItem property when I clear the item in DropDownList. As I understand, when I …

How to receive in JS selections from html using select2

I want to receive in JS the selected values from html. In html I’m using multi-select box with selected2 library. I was able to do it for a normal single choice such as