我插在我的选择2输入文本:选择2光标焦点不跳
$("#selectBank").select2("container").find("div.select2-drop").append('<div><input type="text" class="inputADD" role="comboboxadd" id="addBank" placeholder=""><input type="submit" value="Add"></div>');
它发生的光标焦点在输入搜索框选择2所有的时间..当我点击我的新的输入文本光标焦点不会跳转到我的新字段。实例的
链接(对不起,我没有10美誉,i'm新手将它张贴): http://s2.postimg.org/9vw90oze1/SL1.png
任何解决方案?
我发现了一个类似的主题(http://stackoverflow.com/questions/27185950/select2-additional-checkbox-not-checking),但没有与输入文字工作=/ –