SyntaxFix
Write A Post
Hire A Developer
Questions
I also got the same error when using ajax with a textbox then i solve it by remove class select2 of textbox and setup select2 by id like:
$(function(){ $("#input-select2").select2(); });