inkredible Posted April 27, 2017 Share Posted April 27, 2017 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? Link to comment Share on other sites More sharing options...
BomAle Posted April 28, 2017 Share Posted April 28, 2017 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.