SyntaxFix
Write A Post
Hire A Developer
Questions
Solution :
var my_veriable = $('#your_select2_id').select2().val(); var my_last_veriable = my_veriable.toString();