I am trying to clone a row which contains select2 tool ,when i clone that row using jQuery the cloned select2 is not responding.In image given below first select2 which is o
How to use jorar91 code.
var $clone = $("#multiple_objects_with_select2").cloneSelect2(); $($clone ).find('select').select2({ width:'100%' }); $("#some_place").append($clone);