<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/css/selectize.default.min.css"> <title>Try jQuery Online</title> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/js/standalone/selectize.min.js"></script> <script> $(document).ready(function() { $('#Requestors, #Ccs').selectize({ plugins: ['drag_drop'], delimiter: ',', persist: false, create: function(input) { return { value: input, text: input } } }); jQuery( function() { jQuery("#Requestors, #Ccs").sortable({ connectWith: "#Requestors" }).disableSelection(); }); }); </script> </head> <body> Test1:<input id="Requestors"> Test2:<input id="Ccs"> </body> </html>
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more