Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 27, 20177 yr I am loading a created form with multiple tabs (each tab contain some form inputs) via Ajax. Unfortunately all the content is visible (instead of being inside in each tab). I assume this is happening because the Javascript for the tabmenu is not loaded on the page from where I am doing this Ajax request. How can I make sure all required Javascript files for the generated form elements will be loaded as well? I tried to figure out what JavaScript files are missing for my tabmenu but I failed. There are so many javascript controllers/files loaded it's hard to find the missing ones. Maybe anyone can provide a proper solution for my problem?
April 28, 20177 yr try to trigger content change event after you have appended on DOM $(document).trigger('contentChange', [$('form')]); this permise to run each controller that have tabs and other elements.
Archived
This topic is now archived and is closed to further replies.