Use .closest() instead of .parents() because the latter will also reach parent...
Use .closest() instead of .parents() because the latter will also reach parent elements of the plugin container In other words, if the multiselect plugin is used inside an LI.container tag, it will eventually modify it which is not intended
Showing
Please register or sign in to comment