Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select2 onchange

//Initialize Select2 Elements
$('#select2-positions').select2().on("change", function (e) {
	console.log($(this).val())
});

//other events
//https://select2.org/programmatic-control/events
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #onchange
ADD COMMENT
Topic
Name
5+8 =