Snippet code to load the content of the template into the div (main.html):
var href = $(this).attr('href');
$('#content_pane').load( href );
<a href="/main" class="active"> MAIN </a>
<a href="/review"> REVIEW </a>
<div id="#content_pane"> </div>
review.html:
<a href="review/1" class="pageLink"> 1 </a>
<a href="review/2" class="pageLink"> 2 </a>
My question now is that:
EDIT
Current Problem:
The class .pageLink from review.html is not accessible from main.html, after review.html being loaded into div #content_pane
Can anyone help on this please ?
The problem solved by following: