andreww1011 / filter-multi-select

Multiple select dropdown with filter jQuery plugin.
Other
28 stars 15 forks source link

Applying multiple select dropdown to dynamically added select boxes #27

Open the3dcraig opened 1 year ago

the3dcraig commented 1 year ago

I have a project that requires building dynamic select boxes into the DOM based on user activity. The multiselect plugin works great when the HTML for the select box exists when the page is initially drawn. With the proper class reference, all selects are converted when the document.onload is triggered. However, in my case I am adding the select boxes after the inital onload. Is there any way to trigger the conversion of the dynamically added select boxes after the page has loaded? Any help is greatly appreciated.