Attach click-event to element in .select2-result

后端 未结 12 1834
猫巷女王i
猫巷女王i 2020-11-29 02:06

I\'m looking for a way to attach a click-event to a select2-result-item. I\'ve gone ahead and formatted both result and selection via

function format(state)          


        
12条回答
  •  庸人自扰
    2020-11-29 02:38

    Simple onchange event like this also would help to solve the problem

    
    

提交回复
热议问题