General Technique for Dynamic Navigation

Hi @ioplex, the typical technique would be not to send any markup in the AJAX response at all, but just the data (most commonly as JSON) and then modify the DOM accordingly on the client side; you can then add event listeners directly while creating new elements. There’s actually a current discussion on this topic here you might check out.

BTW also note that the selector [class^=cl_] will only match elements where the first class in the list starts with cl_ – elements with say class="foo cl_bar" will not be found.