Using ajax call I am loading new content to an existing empty div element which adds some links. These links should also work with pjax but they don't as I can see that the timestamp changes.
I tried to do this in the ajax success part but it's not working:
var newContent = document.querySelector(".new-content");
pjax.refresh(newContent);
Using ajax call I am loading new content to an existing empty div element which adds some links. These links should also work with pjax but they don't as I can see that the timestamp changes.
I tried to do this in the ajax success part but it's not working: