Изменить параметры URL-адреса загрузки SelectizeJquery

Программирование на jquery
Anonymous
Изменить параметры URL-адреса загрузки Selectize

Сообщение Anonymous »


selectize({ valueField: 'Id', labelField: 'Name', searchField: 'Name', load: function (query, callback) { $.ajax({ url: '/some_url/params?SOME_ID=4&keyword=' + encodeURIComponent(query), success: function (response) {} }); } }); in the above snippet, is it possible to change the value of SOME_ID in request params based on some event
without destroying are re initializing the whole input ?
thanks in advance

the only solution i found was to destroy and re initialize the input, but am looking for a better approach


Источник: https://stackoverflow.com/questions/780 ... parameters

Вернуться в «Jquery»