M. Dylan
0
Q:

select2 get data attribute value

$('#mySelect2').on('select2:select', function (e) {
    var data = e.params.data;
    console.log(data);
});
2
$('#payment_method').select2('data')[0]
0

New to Communities?

Join the community