Attach click-event to element in .select2-result

Because Select2 lib prevent any click events on popover list you can’t bind events to .info directly. But you can redefine onSelect method and place there any code you want.

See example: http://jsfiddle.net/f8q2by55/

Update for multiple selects: http://jsfiddle.net/6jaodjzq/

Leave a Comment