select set value ajax select2. Create tables in the This is easy in version 3.5 because it offers the createSearchChoice hook. Two Ajax functions were added to our Dynamic Select library. Select2 is a jquery plugin which alters HTML element and create dynamic element with ajax data. Handle two requests 1. This page explains how send dynamic data using Ajax / JavaScript. $("#my_select").select2('destroy').empty().select2({data: [{id: 1, text: "new_item"}]}); Download the Select2 library from GitHub and also download the jQuery library. An alternative transport function can be specified in the ajax In this part we follow two step for create Controller File and Laravel Blade File. Customization of select dropdown elements is easy with the Select2 plugin, and you can extent dynamic features in a select dropdown with this library. text: 'dupl In Select2 4.0.2 $("#yourId").append(""); Howdy, Stranger! Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options. WebAjax Cascading Drop-Down List Dynamic Cascading for Select Box / Radio button / Checkbox Since Version 3.0.3, Joget added support for Dynamic Cascading for Select Box / Radio button / Checkbox. Extending on Bumptious Q Bangwhistle's answer: $('#select2').append($('