Forum

select2, dynamic ur...
 
Notifications
Clear all

select2, dynamic url from data attribute of component

   RSS

0
Topic starter

example

1 Answer
0
Topic starter



    $('.my_generic_select').select2({
        ajax: {
            url:function (params) {
                return $(this).data('url');
            },
            dataType: 'json'
        }
    });

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: