I am using the Ajax links API module that allows to load a node inside a
<div> tag by using
<a class="ajax-link" href="node/add/page" rel="#content">Add page</a>.
However, I have a problem: If I use a pager, and I click on the link to see another page, I will be redirected to that page, instead of loading it inside the
I solved partially by using the Views Infinite Scroll module, but if I have several
<div> tags, the module doesn't load the correct view in the correct
It seems I cannot use the pagination because the URL is not re-written to accommodate to the container, and it is not scrolling because this limitation.
Is there some way of creating simple AJAX calls loading content in different
<div> tags on the same page, and with pagination (or load more button, infinite scrolling, etc.)?