2

I'm customizing a view in my component, I have tabs, each tab contains a modal, but when adding a new tab using js, I don't know how to initialize the new tab's modal via js?

1 Answer 1

3

It's simple, I found it possible to use Joomla.initialiseModal( document.getElementById(YOUR_MODAL_ID) ) to initialize the modal

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.