Displays the following in #test:
<a class="page" href="/test.php?page=1">1</a> <a class="page" href="/test.php?page=2">2</a>
$.get('test.php', function(data) { $('#test').html('<div class="content">'+data+'</div>'); // реалиовываем переход по страницам $('.content .page').click(function() { var href = $(this).attr('href'); $.get(href, function(data) { $('.content').html(data); }); }); }); From the first click everything happens fine, but if you click on .page second time, then it just seems like nothing works.