Pushstate issue when it is true

$$(document).on(‘page:afterin’, ‘.page[data-name=“home_page”]’, function (e, page)
{
$.post(app_url + “category_list.php”,{ctname:ctname},function (categories)
{
$(’#category_list’).html(categories);
});
});

I got data in categories but it is not displaying in $(’#category_list’).html if i use pushstate:true

It is not really related. If $('#category_list').html(categories); doesn’t work then you don’t have #category_list element in DOM or there are more than one such elements

when application load fresh same code works. but when i go to other pages and come back to home_page through back link or backbutton and click on home link then i got this issue.