SyntaxFix
Write A Post
Hire A Developer
Questions
Also you can have the selected value using following code:
alert("Selected option value is: "+$('#SelectelementId').select2("val"));