I would like to know if it is possible to trigger Javascript code once a a4j:include has been (re-)rendered. Unfortunately I could not find anything to that effect in the documentation.

More specifically, I'm looking for a way to run Javascript code once the include has been re-rendered following a user navigation action (for example clicking a 'next' button in the include area). It would be functionality similar to the 'oncomplete' event.