Hi XTemos,
There is the ability to register a JS callback to be run after the ajax call completed successfully.
This is usefull to meke some external theme plugin for woocommerce to work correctly.
i see that in the js function var loadTab = function (atts, index, holder, btn, cache, callback)
the passed callback run at the end of success but there is no way to attach a custom handler.
The only way is to us the event triggered on the entire Document
$(document).trigger(‘wood-images-loaded’);
to run custom javascript initialization for unsupported plugin.
Why do not add a dom event like $(AjaxProductTabContainer).trigger(‘ajax-product-tab-loaded’) ?
in this way i can register any custom js initialization to run on the new tab content after it is loaded.
Any help will be appreciated