I’m using append for adding dynamic html to .page-content of current page.for example,
$$(document).on('page:init','.page[data-name="feed"]',function(e,page){
var html=Module.Initialiser(parameters);
$$('.page-content').append(html);
}
It actually appends html to .page-previous , .page-current.I only want to append html to currently active page. Do i need to give every .page-content a unique id and then append using that id?