How to invoke plugin on dynamic content multiple times
Hi there,
Invoking the plugin on dynamic content multiple times produces multiple <label> tags which is not the desired behavior knowing that labelauty-fied inputs are all having different ids.
So is there any flag to force override of target elements instead of appending to them?
Hi,
Override/Update the existing labels' target when content changes, is what you're asking for ? It's not possible, yet.
"Invoking the plugin on dynamic content multiple times produces multiple
In case it helps, I have been able to get around this by removing those label elements before recalling labelauty.
Example: $yourParentElement.find('label:not(.label_check)').remove();