I am using jquery ajax to simply load my website/PWA content into a div
. The problem is the webpage inside of the div
content is a social network and it has multiple links inside that are clickable and when clicked the window opens the links, breaking my customized header and footer. Is there a way to contain all the links clicked inside of the div
contained to the div
itself. Something similar to an iFrame. If that makes any sense. Does it help if the social network is a headless wordpress?
$('IdOfButton').click ( function () {
$('content').load ('/signinup.php') ;
} );