I'm trying to use atk4 in a project started some months ago. This project is a app that has a menu and load pages in a div via ajax. Menu is fixed and never reloaded. I want to use atk4 to generate new pages and do the database work, leaving what is done as is by the moment. Pages are generated and loaded ok, but components loaded via ajax are not enhaced, because the document ready event is not fired. We have an event fired every time an ajax page is loaded in the corresponding div ¿can we call a function or functions from this event to have atk4 js system initialized and new components enhaced?
Our function:
$(document).bind('afterajaxload', function(){
//here we need to call atk4 js initialization to enhace the ajax loaded page.
})
Thanks (and sorry for my bad english)!!