0
<select id="e1" multiple="multiple" style="width:300px">
<option value="AL">Alabama</option>
<option value="WY">Wyoming</option>
</select>
$("#e1").select2({
formatSelection:function(state){
return "<input type=\"text\" value=\""+1+"\" class=\"quantity\"/>" + state.text;
},
});
예 : http://jsfiddle.net/Gm668/jQuery select2. formatSelection 내부의 입력 필드에 포커스를 취득 할 수 없습니다